From 1028774a6549dc34dc838845d852e85fed24fced Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Thu, 16 Apr 2026 13:56:48 +0200 Subject: [PATCH] feat: implement podcast controller with subscription, search, and sync functionality --- backend/src/controllers/podcastController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/podcastController.ts b/backend/src/controllers/podcastController.ts index d9e7ce9..167f868 100644 --- a/backend/src/controllers/podcastController.ts +++ b/backend/src/controllers/podcastController.ts @@ -58,7 +58,7 @@ export const subscribe = async (req: Request, res: Response) => { if (!podcast) { // Parse RSS feed const feedData = await rssParserService.parseFeed(rssUrl); - const episodes = rssParserService.parseEpisodes(feedData.items, feedData.image?.url || '', rssUrl); + const episodes = rssParserService.parseEpisodes(feedData.episodes, feedData.imageUrl, rssUrl); try { const result = await rssParserService.createPodcastFromRss(rssUrl); podcast = await Podcast.findById(result.podcast._id);