1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00

fix code format (#6365)

This commit is contained in:
Michael An
2024-07-18 11:58:42 +08:00
committed by GitHub
parent c5d02b33b2
commit 67210c7363
450 changed files with 2425 additions and 2385 deletions

View File

@@ -8,7 +8,7 @@ class SystemAdminAPI {
this.server = server;
this.username = username;
this.password = password;
this.token = token; //none
this.token = token; // none
if (this.token && this.server) {
this.req = axios.create({
baseURL: this.server,
@@ -37,7 +37,7 @@ class SystemAdminAPI {
_sendPostRequest(url, form) {
if (form.getHeaders) {
return this.req.post(url, form, {
headers:form.getHeaders()
headers: form.getHeaders()
});
} else {
return this.req.post(url, form);
@@ -63,7 +63,7 @@ class SystemAdminAPI {
params.order_by = sortBy;
params.direction = sortOrder;
}
return this.req.get(url, {params: params});
return this.req.get(url, { params: params });
}
sysAdminExportLogsExcel(start, end, logType) {