Feature: Add UI to update email notification preferences (#579)

This commit is contained in:
Pranav Raj S
2020-03-01 17:47:08 +05:30
committed by GitHub
parent 629c73d3ce
commit d6237dfc59
11 changed files with 369 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
/* 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();