From ea174d8b0e3f1c17a58c8edfcab2c6cd6cc876fa Mon Sep 17 00:00:00 2001 From: garrettladley Date: Sat, 10 Feb 2024 16:22:12 -0500 Subject: [PATCH] format --- backend/src/controllers/category.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/controllers/category.go b/backend/src/controllers/category.go index 2a778e3d0..40858ea89 100644 --- a/backend/src/controllers/category.go +++ b/backend/src/controllers/category.go @@ -129,7 +129,6 @@ func (cat *CategoryController) UpdateCategory(c *fiber.Ctx) error { } updatedCategory, err := cat.categoryService.UpdateCategory(c.Params("categoryID"), category) - if err != nil { return err.FiberError(c) }