Add app and serverVersion properties to response from /status

This commit is contained in:
advplyr 2023-11-05 12:43:34 -06:00
parent 309ef807ab
commit c17540e191

View File

@ -228,6 +228,8 @@ class Server {
// status check for client to see if server has been initialized // status check for client to see if server has been initialized
// server has been initialized if a root user exists // server has been initialized if a root user exists
const payload = { const payload = {
app: 'audiobookshelf',
serverVersion: version,
isInit: Database.hasRootUser, isInit: Database.hasRootUser,
language: Database.serverSettings.language, language: Database.serverSettings.language,
authMethods: Database.serverSettings.authActiveAuthMethods, authMethods: Database.serverSettings.authActiveAuthMethods,