fix/sqlite #10

Merged
jake merged 17 commits from fix/sqlite into main 2025-06-19 21:58:10 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 433e4302c2 - Show all commits

View File

@ -63,6 +63,8 @@ var addCmd = &cobra.Command{
Password: base64.StdEncoding.EncodeToString(ps),
})
cobra.CheckErr(err)
fmt.Println("Server saved")
},
}

View File

@ -321,7 +321,7 @@ func (d *database) SetActiveServer(name string) error {
ctx, cancel := d.timeout()
defer cancel()
_, err = d.ExecContext(ctx, update)
_, err = d.ExecContext(ctx, update, name)
return err
}