From 451e4dffd000169e7113aa3275e4acaf7f1fbbbc Mon Sep 17 00:00:00 2001 From: Factiven Date: Tue, 24 Oct 2023 20:27:32 +0700 Subject: Update v4.2.2 --- lib/anify/page.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/anify/page.js') diff --git a/lib/anify/page.js b/lib/anify/page.js index 0f0bb93..6362f88 100644 --- a/lib/anify/page.js +++ b/lib/anify/page.js @@ -1,10 +1,10 @@ import { redis } from "../redis"; // Function to fetch new data -async function fetchData(id, chapterNumber, providerId, chapterId, key) { +async function fetchData(id, chapterNumber, providerId, chapterId) { try { const res = await fetch( - `https://api.anify.tv/pages/${id}/${chapterNumber}/${providerId}/${chapterId}&apikey=${key}` + `https://api.anify.tv/pages/${id}/${chapterNumber}/${providerId}/${chapterId}` ); const data = await res.json(); return data; -- cgit v1.2.3