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