Fix wrong error returned in fix-fields-order

This commit is contained in:
William Bouzourène 2025-03-24 20:03:58 +01:00
parent 5882fe49d2
commit e0e0a66206

View file

@ -136,7 +136,7 @@ func DebugFixFieldsOrder(c *fiber.Ctx) error {
) )
if result2.Error != nil { if result2.Error != nil {
return result.Error return result2.Error
} }
if result2.RowsAffected > 0 { if result2.RowsAffected > 0 {