add user role
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user