Fix:Save RSS feed url passed in by user instead of using the RSS feed returned from the request #634

This commit is contained in:
advplyr 2022-05-27 17:50:56 -05:00
parent b2aab06e01
commit 96232676cb

View File

@ -109,10 +109,8 @@ class PodcastController {
return res.status(500).send('Invalid podcast RSS feed')
}
if (!payload.podcast.metadata.feedUrl) {
// Not every RSS feed will put the feed url in their metadata
payload.podcast.metadata.feedUrl = url
}
// RSS feed may be a private RSS feed
payload.podcast.metadata.feedUrl = url
res.json(payload)
}).catch((error) => {