mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-25 10:41:45 +00:00
Add server version to login response
This commit is contained in:
parent
e740692ea8
commit
d03e20606e
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ class Auth {
|
||||||
user: user.toJSONForBrowser(),
|
user: user.toJSONForBrowser(),
|
||||||
userDefaultLibraryId: user.getDefaultLibraryId(this.db.libraries),
|
userDefaultLibraryId: 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue