style: rename more instances of same typo

This commit is contained in:
iron3oxide 2024-06-27 22:29:27 +02:00
parent 2bf75430f3
commit b1e632588f

View File

@ -32,7 +32,7 @@ func NewVault(keyring *crypto.Keyring) *Vault {
sshKeyNoteIDs: make([]string, 0), sshKeyNoteIDs: make([]string, 0),
envCredentials: make(map[string]string), envCredentials: make(map[string]string),
lastSynced: 0, lastSynced: 0,
websockedConnected: false, websocketConnected: false,
} }
} }
@ -424,7 +424,7 @@ func (vault *Vault) GetLastSynced() int64 {
func (vault *Vault) SetWebsocketConnected(connected bool) { func (vault *Vault) SetWebsocketConnected(connected bool) {
vault.lockMutex() vault.lockMutex()
vault.websockedConnected = connected vault.websocketConnected = connected
vault.unlockMutex() vault.unlockMutex()
} }
@ -432,5 +432,5 @@ func (vault *Vault) IsWebsocketConnected() bool {
vault.lockMutex() vault.lockMutex()
defer vault.unlockMutex() defer vault.unlockMutex()
return vault.websockedConnected return vault.websocketConnected
} }