mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-01 05:29:41 +00:00
Fix: Correctly use getExpandedById in consolidate merge
This commit is contained in:
parent
3ba2551ba1
commit
44c25e61a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1772,7 +1772,7 @@ class LibraryItemController {
|
|||
// Rescan target item to pick up merged files
|
||||
await LibraryItemScanner.scanLibraryItem(existingItem.id)
|
||||
|
||||
const updatedExistingItem = await Database.libraryItemModel.findByPkExpanded(existingItem.id)
|
||||
const updatedExistingItem = await Database.libraryItemModel.getExpandedById(existingItem.id)
|
||||
|
||||
return res.json({
|
||||
success: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue