mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-05 17:01:34 +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
|
// Rescan target item to pick up merged files
|
||||||
await LibraryItemScanner.scanLibraryItem(existingItem.id)
|
await LibraryItemScanner.scanLibraryItem(existingItem.id)
|
||||||
|
|
||||||
const updatedExistingItem = await Database.libraryItemModel.findByPkExpanded(existingItem.id)
|
const updatedExistingItem = await Database.libraryItemModel.getExpandedById(existingItem.id)
|
||||||
|
|
||||||
return res.json({
|
return res.json({
|
||||||
success: true,
|
success: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue