Update episode-old-v1.js

This commit is contained in:
2024-11-15 16:22:10 +05:00
committed by GitHub
parent 7552c2b907
commit 04c6eb13d7

View File

@@ -1,7 +1,7 @@
const axios = require('axios');
// Функция для запроса к Anixart API
async function getEpisodeFromAnixart(releaseId) {
async function getOldEpisodeFromAnixart(releaseId) {
const url = `https://api.anixart.tv/episode/${releaseId}`;
try {
const response = await axios.get(url);
@@ -84,4 +84,4 @@ function getCustomNotFoundResponse() {
};
}
module.exports = { getEpisodeFromAnixart };
module.exports = { getOldEpisodeFromAnixart };