syntax fix

This commit is contained in:
TheBeastLT 2024-05-27 19:35:50 +03:00
parent 459520d88b
commit 0a1791892b

View file

@ -28,9 +28,9 @@ function _requestMetadata(ids, type) {
function _getUrl(ids, type) { function _getUrl(ids, type) {
const joinedIds = ids.slice(0, MAX_SIZE).join(','); const joinedIds = ids.slice(0, MAX_SIZE).join(',');
if (type === Type.ANIME) { if (type === Type.ANIME) {
return `${KITSU_URL}/catalog/${type}/kitsu-anime-list/lastVideosIds=${joinedIds}.json` return `${KITSU_URL}/catalog/${type}/kitsu-anime-list/lastVideosIds=${joinedIds}.json`;
} }
return `${CINEMETA_URL}/catalog/${type}/last-videos/lastVideosIds=${joinedIds}.json` return `${CINEMETA_URL}/catalog/${type}/last-videos/lastVideosIds=${joinedIds}.json`;
} }
function _sanitizeMeta(meta) { function _sanitizeMeta(meta) {