mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-30 18:48:55 +01:00
Fix update podcast episode api route;
This commit is contained in:
parent
3f8e685d64
commit
58dfa65660
@ -161,7 +161,7 @@ class PodcastController {
|
||||
|
||||
var wasUpdated = libraryItem.media.updateEpisode(episodeId, req.body)
|
||||
if (wasUpdated) {
|
||||
await this.db.insertLibraryItem(libraryItem)
|
||||
await this.db.updateLibraryItem(libraryItem)
|
||||
this.emitter('item_updated', libraryItem.toJSONExpanded())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user