[CR] Make GUI only search series
This commit is contained in:
parent
0b22b4ec36
commit
97b9778801
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ class CrunchyHandler extends Base implements MessageHandler {
|
|||
|
||||
public async search(data: SearchData): Promise<SearchResponse> {
|
||||
await this.crunchy.refreshToken(true);
|
||||
if (!data['search-type']) data['search-type'] = 'series';
|
||||
console.debug(`Got search options: ${JSON.stringify(data)}`);
|
||||
const crunchySearch = await this.crunchy.doSearch(data);
|
||||
if (!crunchySearch.isOk) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue