mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 03:11:34 +00:00
fixed wrong ide completions
This commit is contained in:
parent
89f64736f4
commit
858ea5010a
2 changed files with 15 additions and 15 deletions
|
|
@ -46,7 +46,7 @@ class LibraryController {
|
|||
for (let i = 0; i < allLibrariesIds.length; i++) {
|
||||
req.library = {
|
||||
id: allLibrariesIds[i],
|
||||
isBook: await Database.libraryModel.getOldById(allLibrariesIds[i]),
|
||||
mediaType: (await Database.libraryModel.getOldById(allLibrariesIds[i])).mediaType,
|
||||
};
|
||||
const libraryStats = await libraryHelpers.getLibraryStats(req);
|
||||
allStats.push({ libraryId: req.library.id, stats: libraryStats });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue