mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
15 lines
292 B
JavaScript
15 lines
292 B
JavaScript
/* global axios */
|
|
import ApiClient from './ApiClient';
|
|
|
|
class UserNotificationSettings extends ApiClient {
|
|
constructor() {
|
|
super('user/notification_settings');
|
|
}
|
|
|
|
update(params) {
|
|
return axios.patch(`${this.url}`, params);
|
|
}
|
|
}
|
|
|
|
export default new UserNotificationSettings();
|