1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

update api name (#4470)

* update api name

* update api name
This commit is contained in:
杨顺强
2020-03-06 14:19:48 +08:00
committed by GitHub
parent b39b71fdfc
commit 91a8bf9c24
5 changed files with 10 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ class GenerateUploadLink extends React.Component {
getUploadLink = () => {
let path = this.props.itemPath;
let repoID = this.props.repoID;
seafileAPI.getUploadLinks(repoID, path).then((res) => {
seafileAPI.getUploadLink(repoID, path).then((res) => {
if (res.data.length !== 0) {
let sharedUploadInfo = new UploadLink(res.data[0]);
this.setState({sharedUploadInfo: sharedUploadInfo});