mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
Optimize avatar (#6991)
* update * update2 * other * other * update * update * Update test_user_avatar.py * Update migrate_avatars_fs2db.py --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
@@ -874,13 +874,9 @@ class SystemAdminAPI {
|
||||
return this.req.delete(url);
|
||||
}
|
||||
|
||||
sysAdminGetUser(email, avatarSize) {
|
||||
sysAdminGetUser(email) {
|
||||
const url = this.server + '/api/v2.1/admin/users/' + encodeURIComponent(email) + '/';
|
||||
let params = {};
|
||||
if (avatarSize) {
|
||||
params.avatar_size = avatarSize;
|
||||
}
|
||||
return this.req.get(url, { params: params });
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
sysAdminResetUserPassword(email) {
|
||||
|
Reference in New Issue
Block a user