aboutsummaryrefslogtreecommitdiff
path: root/pages/api/v2/source
diff options
context:
space:
mode:
authorEltik <[email protected]>2023-10-09 18:25:37 -0400
committerGitHub <[email protected]>2023-10-10 05:25:37 +0700
commit77eb41dcf3c63a7e3539d1fc6fcf2ca2f5e116a4 (patch)
tree593ef66a934af1c15692eb5fed886857e1880325 /pages/api/v2/source
parentCreate pre-release.md (diff)
downloadmoopa-77eb41dcf3c63a7e3539d1fc6fcf2ca2f5e116a4.tar.xz
moopa-77eb41dcf3c63a7e3539d1fc6fcf2ca2f5e116a4.zip
Small bug fixes (#85)
Diffstat (limited to 'pages/api/v2/source')
-rw-r--r--pages/api/v2/source/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/v2/source/index.js b/pages/api/v2/source/index.js
index 74a63cb..f15e47d 100644
--- a/pages/api/v2/source/index.js
+++ b/pages/api/v2/source/index.js
@@ -21,7 +21,7 @@ async function anifySource(providerId, watchId, episode, id, sub) {
const { data } = await axios.get(
`https://api.anify.tv/sources?providerId=${providerId}&watchId=${encodeURIComponent(
watchId
- )}&episode=${episode}&id=${id}&subType=${sub}&apikey=${API_KEY}`
+ )}&episodeNumber=${episode}&id=${id}&subType=${sub}&apikey=${API_KEY}`
);
return data;
} catch (error) {