mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
@@ -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});
|
||||
|
Reference in New Issue
Block a user