mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-08 15:19:00 +00:00
update transfer repo (#6965)
* update * optimize code * optimize * update sql * test * update * optimize * update UI * change style --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: Michael An <2331806369@qq.com>
This commit is contained in:
@@ -59,6 +59,14 @@ class OrgAdminAPI {
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
||||
orgAdminTransferOrgRepo(orgID, repoID, email, reshare) {
|
||||
const url = this.server + '/api/v2.1/org/' + orgID + '/admin/repos/' + repoID + '/';
|
||||
const form = new FormData();
|
||||
form.append('email', email);
|
||||
form.append('reshare', reshare);
|
||||
return this.req.put(url, form);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
let orgAdminAPI = new OrgAdminAPI();
|
||||
|
Reference in New Issue
Block a user