1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +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

@@ -37,7 +37,7 @@ class SetOrgUserContactEmail extends React.Component {
submitBtnDisabled: true
});
seafileAPI.setOrgUserContactEmail(orgID, email, contactEmail).then((res) => {
seafileAPI.orgAdminSetOrgUserContactEmail(orgID, email, contactEmail).then((res) => {
const newContactEmail = contactEmail ? res.data.contact_email : '';
this.props.updateContactEmail(newContactEmail);
this.props.toggleDialog();