fix: episode list filler numbers

This commit is contained in:
ThaUnknown 2024-08-24 13:51:43 +02:00
parent c28872572a
commit 7251f468e5

View file

@ -30,7 +30,7 @@
export let play
const episodeList = Array.from({ length: episodeCount }, (_, i) => ({
episode: i + 1, image: null, summary: null, rating: null, title: null, length: null, airdate: null, airingAt: null, filler: fillerEpisodes[id]?.includes(i)
episode: i + 1, image: null, summary: null, rating: null, title: null, length: null, airdate: null, airingAt: null, filler: fillerEpisodes[id]?.includes(i + 1)
}))
async function load () {
const res = await fetch('https://api.ani.zip/mappings?anilist_id=' + id)