Skip to content

Commit

Permalink
Update gogoanime.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru authored Apr 16, 2024
1 parent c2f1365 commit 36aa1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/anime/gogoanime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 36aa1fb

Please sign in to comment.