From 36aa1fb35fba293b232330283c989416df64211c Mon Sep 17 00:00:00 2001 From: Marouane <57333995+riimuru@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:46:11 -0400 Subject: [PATCH] Update gogoanime.ts --- src/providers/anime/gogoanime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/anime/gogoanime.ts b/src/providers/anime/gogoanime.ts index de89b689e..cbc92bd65 100644 --- a/src/providers/anime/gogoanime.ts +++ b/src/providers/anime/gogoanime.ts @@ -476,7 +476,7 @@ class Gogoanime extends AnimeParser { throw new Error('Something went wrong. Please try again later.'); } }; - fetchDirectDownloadLink = async (downloadUrl: string, captchaToken: string): Promise<{ source: string | undefined; link: string | undefined }[]> => { + fetchDirectDownloadLink = async (downloadUrl: string, captchaToken?: string): Promise<{ source: string | undefined; link: string | undefined }[]> => { const downloadLinks: { source: string | undefined; link: string | undefined }[] = []; const baseUrl = downloadUrl.split('?')[0];