mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 19:32:45 +01:00
Fix:Series covers on home page not spread out correctly #505, Update:Server settings are now returned with auth requests
This commit is contained in:
1 parent
c2a4b32192
commit
220bbc3d2d
6 files changed
+36
-16
No files matched your search
@@ -230,7 +230,12 @@ class MiscController {
|
||||
Logger.error('Invalid user in authorize')
|
||||
return res.sendStatus(401)
|
||||
}
|
||||
res.json({ user: req.user, userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries) })
|
||||
const userResponse = {
|
||||
user: req.user,
|
||||
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
|
||||
serverSettings: this.db.serverSettings.toJSON()
|
||||
}
|
||||
res.json(userResponse)
|
||||
}
|
||||
|
||||
getAllTags(req, res) {
|
||||
|
||||
Reference in new issue
Block a user