Skip to content

Commit d1affcd

Browse files
committed
Added temporary way to test media type as "game"
1 parent 2ea2378 commit d1affcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/APIManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class APIManager {
2323

2424
let res: MediaTypeModel[] = [];
2525
for (const api of this.apis) {
26-
const apiSettings = [api.apiName, MediaTypeModel].filter(s => s).join('') as keyof typeof this.plugin.settings;
26+
const apiSettings = [api.apiName, "game"].filter(s => s).join('') as keyof typeof this.plugin.settings;
2727
if (apisToQuery.contains(api.apiName) && this.plugin.settings[apiSettings]) {
2828
const apiRes = await api.searchByTitle(query);
2929
res = res.concat(apiRes);

0 commit comments

Comments
 (0)