From 3bd53fe433fc70d508451664bd855d15929bf30e Mon Sep 17 00:00:00 2001 From: Kai Jellinghaus Date: Wed, 7 Dec 2022 14:22:07 +0100 Subject: [PATCH] Correctly parse schema (#1002) --- cli/hub.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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), + }, ); } }