fixed param binding issue with postgres
This commit is contained in:
parent
56cb94117d
commit
a24a974437
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ func (db *datastore) SetSecret(sec *model.Secret) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *datastore) DeleteSecret(sec *model.Secret) error {
|
func (db *datastore) DeleteSecret(sec *model.Secret) error {
|
||||||
_, err := db.Exec(secretDeleteStmt, sec.ID)
|
_, err := db.Exec(rebind(secretDeleteStmt), sec.ID)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue