syntax fix
This commit is contained in:
parent
459520d88b
commit
0a1791892b
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue