mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-24 20:03:22 +03:00
Add lastsynced and websocket status to vault status
This commit is contained in:
parent
4dd2d3330b
commit
c862a1a5f8
@ -190,6 +190,8 @@ func handleVaultStatus(request messages.IPCMessage, cfg *config.Config, vault *v
|
||||
vaultStatus.Locked = cfg.IsLocked()
|
||||
vaultStatus.NumberOfLogins = len(vault.GetLogins())
|
||||
vaultStatus.NumberOfNotes = len(vault.GetNotes())
|
||||
vaultStatus.LastSynced = vault.GetLastSynced()
|
||||
vaultStatus.WebsockedConnected = vault.IsWebsocketConnected()
|
||||
response, err = messages.IPCMessageFromPayload(vaultStatus)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user