diff --git a/cli/hub.ts b/cli/hub.ts index 410e61d957..406640fe2a 100644 --- a/cli/hub.ts +++ b/cli/hub.ts @@ -59,7 +59,10 @@ async function pull(opts: GlobalOptions) { await pushResourceTypeDef( workspace.workspaceId, x.name, - x, + { + description: x.description, + schema: JSON.parse(x.schema), + }, ); } }