fixed param binding issue with postgres

This commit is contained in:
Brad Rydzewski 2016-03-31 12:17:01 -07:00
parent 56cb94117d
commit a24a974437

View file

@ -27,7 +27,7 @@ func (db *datastore) SetSecret(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
}