diff --git a/server/controllers/PodcastController.js b/server/controllers/PodcastController.js index 32c0b64e..88628ae7 100644 --- a/server/controllers/PodcastController.js +++ b/server/controllers/PodcastController.js @@ -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()) }