Fix update podcast episode api route;

This commit is contained in:
advplyr 2022-03-27 15:46:57 -05:00
parent 3f8e685d64
commit 58dfa65660

View File

@ -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())
}