Skip to content

Commit

Permalink
Grab the first volume and increase limit to accommodate manga with ma…
Browse files Browse the repository at this point in the history
…ny volume covers
  • Loading branch information
milesoc committed Jun 18, 2024
1 parent 6ef0902 commit 4d0e3db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MangaDex/MangaDex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,8 @@ export class MangaDex implements ChapterProviding, SearchResultsProviding, HomeP
.addPathComponent('cover')
.addQueryParameter('manga', sourceManga.map((manga) => manga.mangaId))
.addQueryParameter('includes', ['manga'])
.addQueryParameter('limit', sourceManga.length)
.addQueryParameter('limit', 100)
.addQueryParameter('order', { volume: 'asc' })
.buildUrl(),
method: 'GET'
})
Expand Down

0 comments on commit 4d0e3db

Please sign in to comment.