From 856a8fcac1fcb37856729ff5f3f10b417284672a Mon Sep 17 00:00:00 2001 From: Isra Date: Tue, 3 Oct 2023 16:50:54 -0500 Subject: [PATCH] fix: use updated imports --- src/providers/sources/flixhq/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/providers/sources/flixhq/index.ts b/src/providers/sources/flixhq/index.ts index c8a519a..e5cae5b 100644 --- a/src/providers/sources/flixhq/index.ts +++ b/src/providers/sources/flixhq/index.ts @@ -1,7 +1,7 @@ import { flags } from '@/main/targets'; import { makeSourcerer } from '@/providers/base'; import { upcloudScraper } from '@/providers/embeds/upcloud'; -import { getFlixhqSourceDetails, getFlixhqSources } from '@/providers/sources/flixhq/scrape'; +import { getFlixhqMovieSources, getFlixhqShowSources, getFlixhqSourceDetails } from '@/providers/sources/flixhq/scrape'; import { getFlixhqId } from '@/providers/sources/flixhq/search'; import { NotFoundError } from '@/utils/errors'; @@ -15,7 +15,7 @@ export const flixhqScraper = makeSourcerer({ const id = await getFlixhqId(ctx, ctx.media); if (!id) throw new NotFoundError('no search results match'); - const sources = await getFlixhqSources(ctx, ctx.media, id); + const sources = await getFlixhqMovieSources(ctx, ctx.media, id); const upcloudStream = sources.find((v) => v.embed.toLowerCase() === 'upcloud'); if (!upcloudStream) throw new NotFoundError('upcloud stream not found for flixhq'); @@ -32,7 +32,7 @@ export const flixhqScraper = makeSourcerer({ const id = await getFlixhqId(ctx, ctx.media); if (!id) throw new NotFoundError('no search results match'); - const sources = await getFlixhqSources(ctx, ctx.media, id); + const sources = await getFlixhqShowSources(ctx, ctx.media, id); const upcloudStream = sources.find((v) => v.embed.toLowerCase() === 'server upcloud'); if (!upcloudStream) throw new NotFoundError('upcloud stream not found for flixhq');