aboutsummaryrefslogtreecommitdiff
path: root/internal/crud/cli_edit.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/crud/cli_edit.go')
-rw-r--r--internal/crud/cli_edit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/crud/cli_edit.go b/internal/crud/cli_edit.go
index 0213a81..db56450 100644
--- a/internal/crud/cli_edit.go
+++ b/internal/crud/cli_edit.go
@@ -153,7 +153,7 @@ func EditNoteSSH(notePath, privKeyPath, editorString string) error {
os.WriteFile(tmpFile.Name(), make([]byte, len(newContent)), 0600)
- encrypted, err := crypt.EncryptBytesSSH(newContent, pubKeys)
+ encrypted, _, err := crypt.EncryptBytesSSH(newContent, pubKeys)
if err != nil {
return err
}