Add:RSS feed icon over library item covers when feed is open #893

This commit is contained in:
advplyr 2022-08-05 19:23:18 -05:00
parent 2cb4f972d7
commit 24a142e718
9 changed files with 59 additions and 21 deletions

View file

@ -239,12 +239,7 @@ class MiscController {
Logger.error('Invalid user in authorize')
return res.sendStatus(401)
}
const userResponse = {
user: req.user,
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
serverSettings: this.db.serverSettings.toJSONForBrowser(),
Source: global.Source
}
const userResponse = this.auth.getUserLoginResponsePayload(req.user, this.rssFeedManager.feedsArray)
res.json(userResponse)
}