fix some small things
This commit is contained in:
parent
4dcffab5b0
commit
1fb09395fd
4 changed files with 14 additions and 21 deletions
|
|
@ -195,6 +195,7 @@ export default class MediaDbPlugin extends Plugin {
|
|||
types = searchModalData.types;
|
||||
const apis = this.apiManager.apis.filter(x => x.hasTypeOverlap(searchModalData.types)).map(x => x.apiName);
|
||||
try {
|
||||
console.log(apis);
|
||||
return await this.apiManager.query(searchModalData.query, apis);
|
||||
} catch (e) {
|
||||
console.warn(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue