From 58dfa65660134a9a62e84705d4ece98ed2bd465a Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 27 Mar 2022 15:46:57 -0500 Subject: [PATCH] Fix update podcast episode api route; --- server/controllers/PodcastController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }