mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 17:59:06 +02:00
Open rss feed metadataDetails optional
This commit is contained in:
parent
5bdbc75522
commit
caacf461ab
2 changed files with 12 additions and 12 deletions
|
@ -18,7 +18,7 @@ class RSSFeedController {
|
|||
}
|
||||
|
||||
// Check request body options exist
|
||||
if (!options.serverAddress || !options.slug || options.metadataDetails == null) {
|
||||
if (!options.serverAddress || !options.slug) {
|
||||
Logger.error(`[RSSFeedController] Invalid request body to open RSS feed`)
|
||||
return res.status(400).send('Invalid request body')
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ class RSSFeedController {
|
|||
if (!collection) return res.sendStatus(404)
|
||||
|
||||
// Check request body options exist
|
||||
if (!options.serverAddress || !options.slug || options.metadataDetails == null) {
|
||||
if (!options.serverAddress || !options.slug) {
|
||||
Logger.error(`[RSSFeedController] Invalid request body to open RSS feed`)
|
||||
return res.status(400).send('Invalid request body')
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ class RSSFeedController {
|
|||
if (!series) return res.sendStatus(404)
|
||||
|
||||
// Check request body options exist
|
||||
if (!options.serverAddress || !options.slug || options.metadataDetails == null) {
|
||||
if (!options.serverAddress || !options.slug) {
|
||||
Logger.error(`[RSSFeedController] Invalid request body to open RSS feed`)
|
||||
return res.status(400).send('Invalid request body')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue