fixed a bug in simkl where nothing loads if it does not have an anilist id

This commit is contained in:
2024-09-14 23:58:09 -04:00
parent be6c3439ca
commit 4c329d6b9d
3 changed files with 23 additions and 7 deletions

View File

@ -63,7 +63,7 @@
const completedAtDate = convertAniListDateToString(currentAniListAnime.data.MediaList.completedAt)
if (isAniListLoggedIn) AddAnimeServiceToTable({
id: currentAniListAnime.data.MediaList.id,
id: currentAniListAnime.data.MediaList.mediaId,
title,
service: "AniList",
progress: currentAniListAnime.data.MediaList.progress,
@ -168,7 +168,7 @@
return newValue
})
AddAnimeServiceToTable({
id: currentAniListAnime.data.MediaList.id,
id: currentAniListAnime.data.MediaList.mediaId,
title,
service: "AniList",
progress: currentAniListAnime.data.MediaList.progress,