1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +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

@@ -24,7 +24,7 @@ class OrgUserOwnedRepos extends Component {
}
componentDidMount() {
seafileAPI.getOrgUserOwnedRepos(orgID, this.props.email).then((res) => {
seafileAPI.orgAdminGetOrgUserOwnedRepos(orgID, this.props.email).then((res) => {
this.setState(Object.assign({
loading: false
}, res.data));
@@ -147,7 +147,7 @@ class Item extends Component {
deleteRepo = () => {
const repo = this.props.data;
seafileAPI.deleteOrgRepo(orgID, repo.repo_id).then((res) => {
seafileAPI.orgAdminDeleteOrgRepo(orgID, repo.repo_id).then((res) => {
this.setState({
deleted: true
});