Fix cipher spelling

This commit is contained in:
Bernd Schoolmann 2024-04-28 17:27:55 +02:00
parent 69e79980e5
commit a404bba9d8
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ func handleAddSSH(msg messages.IPCMessage, cfg *config.Config, vault *vault.Vaul
actionsLog.Warn(err.Error()) actionsLog.Warn(err.Error())
} }
ctx := context.WithValue(context.TODO(), bitwarden.AuthToken{}, token.AccessToken) ctx := context.WithValue(context.TODO(), bitwarden.AuthToken{}, token.AccessToken)
ciph, err := bitwarden.PostCipher(ctx, cipher, cfg) postedCipher, err := bitwarden.PostCipher(ctx, cipher, cfg)
if err == nil { if err == nil {
vault.AddOrUpdateSecureNote(ciph) vault.AddOrUpdateSecureNote(postedCipher)
} else { } else {
actionsLog.Warn("Error posting ssh key cipher: " + err.Error()) actionsLog.Warn("Error posting ssh key cipher: " + err.Error())
} }