Skip to content

Commit

Permalink
Wrong id
Browse files Browse the repository at this point in the history
  • Loading branch information
milesoc committed Jun 12, 2024
1 parent 715fa06 commit 4f24037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MangaDex/MangaDexParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const addFileNamesToManga = async (manga: PartialSourceManga[], covers: C
for (const mangaItem of manga) {
const mangaId = mangaItem.mangaId

const coverItem = covers.find((x) => x.id == mangaId)
const coverItem = covers.find((x) => x.relationships.find((r) => r.type == 'manga')?.id == mangaId)
if (coverItem === undefined) {
continue
}
Expand Down

0 comments on commit 4f24037

Please sign in to comment.