fix fedapi error for not found

This commit is contained in:
Pas 2025-02-20 16:56:39 -07:00
parent ba716914be
commit fc98ac2845

View file

@ -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');
}
if (!data) throw new NotFoundError('No response from API');