1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

modiyi non standard org admin seafile js api name (#3970)

This commit is contained in:
Leo
2019-08-12 11:00:45 +08:00
committed by Daniel Pan
parent ec0e254b5e
commit 34144b5e84
12 changed files with 22 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ class AddOrgAdminDialog extends React.Component {
addOrgAdmin = () => {
if (!this.state.selectedOption) return;
const userEmail = this.state.selectedOption.email;
seafileAPI.setOrgAdmin(orgID, userEmail, true).then(res => {
seafileAPI.orgAdminSetOrgAdmin(orgID, userEmail, true).then(res => {
let userInfo = new OrgUserInfo(res.data);
this.props.onAddedOrgAdmin(userInfo);
}).catch(error => {