mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 06:44:16 +00:00
modify api name (#3822)
This commit is contained in:
@@ -98,7 +98,7 @@ class Search extends Component {
|
||||
let isPublic = this.props.isPublic;
|
||||
|
||||
if (isPublic) {
|
||||
seafileAPI.searchPublicFiles(queryData.q, queryData.search_repo).then(res => {
|
||||
seafileAPI.searchFilesInPublishedRepo(queryData.q, queryData.search_repo).then(res => {
|
||||
if (!res.data.total) {
|
||||
_this.setState({
|
||||
resultItems: [],
|
||||
|
Reference in New Issue
Block a user