add user role

This commit is contained in:
Aditya Siregar
2025-09-08 15:21:17 +07:00
parent 2319019eb2
commit d869d83d4b
14 changed files with 162 additions and 56 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func (h *UserHandler) CreateUser(c *gin.Context) {
}
logger.FromContext(c).Infof("UserHandler::CreateUser -> Successfully created user = %+v", userResponse)
c.JSON(http.StatusCreated, userResponse)
c.JSON(http.StatusOK, contract.BuildSuccessResponse(userResponse))
}
func (h *UserHandler) UpdateUser(c *gin.Context) {