Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed May 27, 2024
1 parent 459520d commit 0a17918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalogs/lib/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function _requestMetadata(ids, type) {
function _getUrl(ids, type) {
const joinedIds = ids.slice(0, MAX_SIZE).join(',');
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) {
Expand Down

0 comments on commit 0a17918

Please sign in to comment.