active server bugfix
- missing name sql param
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user