store/card: fix dropped error (#3300)

pull/3302/head
Lars Lehtonen 2023-02-07 08:56:46 -08:00 committed by GitHub
parent 3091e3916b
commit fdf51e70b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ func (c cardStore) Create(ctx context.Context, step int64, r io.Reader) error {
Data: data,
}
params, err := toParams(in)
if err != nil {
return err
}
stmt, args, err := binder.BindNamed(stmtInsert, params)
if err != nil {
return err