Added temporary way to test media type as "game"
This commit is contained in:
parent
2ea237822e
commit
d1affcdcb6
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export class APIManager {
|
|||
|
||||
let res: MediaTypeModel[] = [];
|
||||
for (const api of this.apis) {
|
||||
const apiSettings = [api.apiName, MediaTypeModel].filter(s => s).join('') as keyof typeof this.plugin.settings;
|
||||
const apiSettings = [api.apiName, "game"].filter(s => s).join('') as keyof typeof this.plugin.settings;
|
||||
if (apisToQuery.contains(api.apiName) && this.plugin.settings[apiSettings]) {
|
||||
const apiRes = await api.searchByTitle(query);
|
||||
res = res.concat(apiRes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue