update user

This commit is contained in:
efrilm
2025-10-02 19:47:44 +07:00
parent 7c3d6451bd
commit 52ba0aea42
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func (h *UserHandler) UpdateUser(c *gin.Context) {
}
logger.FromContext(c).Infof("UserHandler::UpdateUser -> Successfully updated user = %+v", userResponse)
c.JSON(http.StatusOK, userResponse)
c.JSON(http.StatusOK, contract.BuildSuccessResponse(userResponse))
}
func (h *UserHandler) DeleteUser(c *gin.Context) {