From 8bccf1bde893974a111e032d09d763177575df65 Mon Sep 17 00:00:00 2001 From: Dearsh Oberoi Date: Tue, 17 Feb 2026 13:38:10 +0530 Subject: [PATCH] fix(response): fix status code in update user endpoint Signed-off-by: Dearsh Oberoi --- pkg/auth/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/auth/auth.go b/pkg/auth/auth.go index 389031b..886f665 100644 --- a/pkg/auth/auth.go +++ b/pkg/auth/auth.go @@ -499,7 +499,7 @@ func UpdateUser(c *gin.Context) { res := models.UserResponse{ Data: []models.User{updatedUser}, - Status: http.StatusCreated, + Status: http.StatusOK, Meta: &models.PaginationMeta{ ResourceCount: 1, },