diff options
Diffstat (limited to 'lib/anify/page.js')
| -rw-r--r-- | lib/anify/page.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; |