have updateOrder also update the update joint table [order by account]

pull/1671/head
beltram 1 year ago committed by Herman Slatman
parent 1a711e1b91
commit 2e128056dc
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -117,6 +117,12 @@ func (db *DB) UpdateOrder(ctx context.Context, o *acme.Order) error {
nu.Status = o.Status
nu.Error = o.Error
nu.CertificateID = o.CertificateID
_, err = db.updateAddOrderIDs(ctx, o.AccountID, o.ID)
if err != nil {
return err
}
return db.save(ctx, old.ID, nu, old, "order", orderTable)
}

Loading…
Cancel
Save