diff --git a/client/internal/http/user.go b/client/internal/http/user.go index cb25ccc..8b110c1 100644 --- a/client/internal/http/user.go +++ b/client/internal/http/user.go @@ -35,7 +35,7 @@ func (s *UserService) Create(ctx *gin.Context) { return } - ctx.JSON(http.StatusOK, OK(user)) + ctx.JSON(http.StatusOK, OK(cdsapi.UserCreateResp{User: user})) } func (s *UserService) Delete(ctx *gin.Context) {