mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-22 00:49:10 +02:00
Update:Send source back with auth request
This commit is contained in:
parent
f083d4b5f6
commit
8beac53f5f
8 changed files with 29 additions and 13 deletions
|
@ -242,7 +242,8 @@ class MiscController {
|
|||
const userResponse = {
|
||||
user: req.user,
|
||||
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
|
||||
serverSettings: this.db.serverSettings.toJSON()
|
||||
serverSettings: this.db.serverSettings.toJSON(),
|
||||
Source: global.Source
|
||||
}
|
||||
res.json(userResponse)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue