mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
format code
This commit is contained in:
@@ -82,14 +82,14 @@ class UserAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateEmailNotificationInterval(fileUpdatesEmailInterval, collaborateEmailInterval, enablePasswordUpdateEmail, enableLoginEmail) {
|
updateEmailNotificationInterval(fileUpdatesEmailInterval, collaborateEmailInterval, enablePasswordUpdateEmail, enableLoginEmail) {
|
||||||
let url = this.server + '/api2/account/info/';
|
let url = this.server + '/api2/account/info/';
|
||||||
let data = {
|
let data = {
|
||||||
'file_updates_email_interval': fileUpdatesEmailInterval,
|
'file_updates_email_interval': fileUpdatesEmailInterval,
|
||||||
'collaborate_email_interval': collaborateEmailInterval,
|
'collaborate_email_interval': collaborateEmailInterval,
|
||||||
'enable_password_update_email': enablePasswordUpdateEmail,
|
'enable_password_update_email': enablePasswordUpdateEmail,
|
||||||
'enable_login_email': enableLoginEmail
|
'enable_login_email': enableLoginEmail
|
||||||
};
|
};
|
||||||
return this.req.put(url, data);
|
return this.req.put(url, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateEmailNotificationConfig(fileUpdatesEmailInterval, collaborateEmailInterval, enablePasswordUpdateEmail, enableLoginEmail) {
|
updateEmailNotificationConfig(fileUpdatesEmailInterval, collaborateEmailInterval, enablePasswordUpdateEmail, enableLoginEmail) {
|
||||||
|
Reference in New Issue
Block a user