mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-04 14:06:28 +01:00
Update db model references
This commit is contained in:
1 parent
21343ffbd1
commit
6c1b4e3a36
30 files changed
+298
-243
No files matched your search
@@ -150,7 +150,7 @@ class PodcastManager {
|
||||
return false
|
||||
}
|
||||
|
||||
const libraryItem = await Database.models.libraryItem.getOldById(this.currentDownload.libraryItem.id)
|
||||
const libraryItem = await Database.libraryItemModel.getOldById(this.currentDownload.libraryItem.id)
|
||||
if (!libraryItem) {
|
||||
Logger.error(`[PodcastManager] Podcast Episode finished but library item was not found ${this.currentDownload.libraryItem.id}`)
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user