mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-26 11:11:43 +00:00
update response in MiscController to include version
This commit is contained in:
parent
d03e20606e
commit
a3a6f6c780
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ class MiscController {
|
||||||
user: req.user,
|
user: req.user,
|
||||||
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
|
userDefaultLibraryId: req.user.getDefaultLibraryId(this.db.libraries),
|
||||||
serverSettings: this.db.serverSettings.toJSON(),
|
serverSettings: this.db.serverSettings.toJSON(),
|
||||||
|
serverVersion: this.db.serverSettings.version,
|
||||||
Source: global.Source
|
Source: global.Source
|
||||||
}
|
}
|
||||||
res.json(userResponse)
|
res.json(userResponse)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue