Chatwoot/app/javascript/dashboard/api/userNotificationSettings.js

15 lines
312 B
JavaScript
Raw Normal View History

/* global axios */
import ApiClient from './ApiClient';
class UserNotificationSettings extends ApiClient {
constructor() {
super('notification_settings', { accountScoped: true });
}
update(params) {
return axios.patch(`${this.url}`, params);
}
}
export default new UserNotificationSettings();