mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-08 23:04:51 +02:00
Update:Send source back with auth request
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user