Fix wrong error returned in fix-fields-order
This commit is contained in:
parent
5882fe49d2
commit
e0e0a66206
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ func DebugFixFieldsOrder(c *fiber.Ctx) error {
|
|||
)
|
||||
|
||||
if result2.Error != nil {
|
||||
return result.Error
|
||||
return result2.Error
|
||||
}
|
||||
|
||||
if result2.RowsAffected > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue