1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 07:22:34 +00:00

format code

This commit is contained in:
孙永强
2025-04-21 11:03:19 +08:00
parent 45325f131b
commit 0342923af4

View File

@@ -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) {