mirror of
https://github.com/quexten/goldwarden.git
synced 2024-08-16 14:40:28 +03:00
style: Fix typo: Websocked -> Websocket
This commit is contained in:
parent
f7e1cae015
commit
2bf75430f3
@ -256,7 +256,7 @@ func handleVaultStatus(request messages.IPCMessage, cfg *config.Config, vault *v
|
||||
vaultStatus.NumberOfLogins = len(vault.GetLogins())
|
||||
vaultStatus.NumberOfNotes = len(vault.GetNotes())
|
||||
vaultStatus.LastSynced = vault.GetLastSynced()
|
||||
vaultStatus.WebsockedConnected = vault.IsWebsocketConnected()
|
||||
vaultStatus.WebsocketConnected = vault.IsWebsocketConnected()
|
||||
vaultStatus.PinSet = cfg.HasPin()
|
||||
vaultStatus.LoggedIn = cfg.IsLoggedIn()
|
||||
response, err = messages.IPCMessageFromPayload(vaultStatus)
|
||||
|
@ -20,7 +20,7 @@ type Vault struct {
|
||||
sshKeyNoteIDs []string
|
||||
envCredentials map[string]string
|
||||
lastSynced int64
|
||||
websockedConnected bool
|
||||
websocketConnected bool
|
||||
mu sync.Mutex
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ var statusCmd = &cobra.Command{
|
||||
response["loginEntries"] = status.NumberOfLogins
|
||||
response["noteEntries"] = status.NumberOfNotes
|
||||
response["lastSynced"] = time.Unix(status.LastSynced, 0).String()
|
||||
response["websocketConnected"] = status.WebsockedConnected
|
||||
response["websocketConnected"] = status.WebsocketConnected
|
||||
response["pinSet"] = status.PinSet
|
||||
response["loggedIn"] = status.LoggedIn
|
||||
responseJSON, _ := json.Marshal(response)
|
||||
|
@ -27,7 +27,7 @@ type VaultStatusResponse struct {
|
||||
NumberOfLogins int
|
||||
NumberOfNotes int
|
||||
LastSynced int64
|
||||
WebsockedConnected bool
|
||||
WebsocketConnected bool
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
@ -110,7 +110,7 @@ Adw.ApplicationWindow window {
|
||||
icon-name: "emblem-synchronizing-symbolic";
|
||||
}
|
||||
Adw.ActionRow websocket_connected_row {
|
||||
title: "Websocked Connected";
|
||||
title: "Websocket Connected";
|
||||
subtitle: "False";
|
||||
}
|
||||
Adw.ActionRow logins_row {
|
||||
|
Loading…
Reference in New Issue
Block a user