mirror of
https://github.com/haiwen/seafile-js.git
synced 2025-06-03 01:00:19 +00:00
remove ai search
This commit is contained in:
parent
89817b07c0
commit
7c7c9c8b30
@ -1602,14 +1602,6 @@ class SeafileAPI {
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
aiSearchFiles(searchParams, cancelToken) {
|
||||
let url = this.server + '/api/v2.1/ai/search/';
|
||||
let form = new FormData();
|
||||
form.append('query', searchParams.q);
|
||||
form.append('search_repo', searchParams.search_repo);
|
||||
return this.req.post(url, form, {cancelToken : cancelToken});
|
||||
}
|
||||
|
||||
orgAdminGetOrgInfo() {
|
||||
const url = this.server + '/api/v2.1/org/admin/info/';
|
||||
return this.req.get(url);
|
||||
|
Loading…
Reference in New Issue
Block a user