diff --git a/handlers/payment.go b/handlers/payment.go index 17e449d..e3a9f3b 100644 --- a/handlers/payment.go +++ b/handlers/payment.go @@ -80,7 +80,7 @@ func PaymentAdd(c *gin.Context) { if weNeedRollback { dbc := db.Connect() for _, deleteIt := range deletableIfRollback { - if err := dbc.Debug().Delete(deleteIt).Error; err != nil { + if err := dbc.Delete(deleteIt).Error; err != nil { log.Printf("ERROR: dbc.Delete: %v\n", err) continue }