mirror of
https://github.com/p-stream/providers.git
synced 2026-04-30 14:34:56 +00:00
fix fedapi error for not found
This commit is contained in:
parent
ba716914be
commit
fc98ac2845
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (data?.error === 'No quality list in FebBox response') {
|
if (data?.error === 'No results found in MovieBox search') {
|
||||||
throw new NotFoundError('No stream found');
|
throw new NotFoundError('No stream found');
|
||||||
}
|
}
|
||||||
if (!data) throw new NotFoundError('No response from API');
|
if (!data) throw new NotFoundError('No response from API');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue