From e0e0a6620673022b54908cce2d58d712469757e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Bouzour=C3=A8ne?= Date: Mon, 24 Mar 2025 20:03:58 +0100 Subject: [PATCH] Fix wrong error returned in fix-fields-order --- controllers/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/debug.go b/controllers/debug.go index 66bdefb..30a0624 100644 --- a/controllers/debug.go +++ b/controllers/debug.go @@ -136,7 +136,7 @@ func DebugFixFieldsOrder(c *fiber.Ctx) error { ) if result2.Error != nil { - return result.Error + return result2.Error } if result2.RowsAffected > 0 { -- 2.49.1