mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
optimize lint
This commit is contained in:
@@ -729,10 +729,10 @@ class SystemAdminAPI {
|
||||
per_page: perPage
|
||||
};
|
||||
if (emails.from_emails && emails.from_emails.length) {
|
||||
params.from_emails = emails.from_emails.join(',')
|
||||
params.from_emails = emails.from_emails.join(',');
|
||||
}
|
||||
if (emails.to_emails && emails.to_emails.length) {
|
||||
params.to_emails = emails.to_emails.join(',')
|
||||
params.to_emails = emails.to_emails.join(',');
|
||||
}
|
||||
if (repos && repos.length) {
|
||||
params.repos = repos.map(repo => repo.id).join(',');
|
||||
|
Reference in New Issue
Block a user