From 025cd8d2ddd9b75fd2549074f10cfa3ad69cb243 Mon Sep 17 00:00:00 2001 From: Nabil Ould Hamou Date: Mon, 8 Apr 2024 23:25:02 +0200 Subject: [PATCH] fix: idk --- controllers/userController.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/userController.go b/controllers/userController.go index 9d2bb04..9057bbc 100644 --- a/controllers/userController.go +++ b/controllers/userController.go @@ -111,7 +111,6 @@ func UpdateUser(c *gin.Context) { if len(uploadedFiles) == 1 { initializers.DB.Model(&files[0]).Update("user_id", id.String()) - return } var user models.User