mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 09:44:41 +02:00
Change:Bookshelf to return minified audiobook objects and limit 100 #255
This commit is contained in:
parent
18fa7a0b10
commit
3f8551f9a1
6 changed files with 31 additions and 26 deletions
|
@ -211,7 +211,7 @@ class Audiobook {
|
|||
ebooks: this.ebooks.map(ebook => ebook.toJSON()),
|
||||
numEbooks: this.ebooks.length,
|
||||
numTracks: this.tracks.length,
|
||||
chapters: this.chapters || [],
|
||||
numChapters: (this.chapters || []).length,
|
||||
isMissing: !!this.isMissing,
|
||||
isInvalid: !!this.isInvalid,
|
||||
hasMissingParts: this.numMissingParts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue