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) }