Correctly parse schema (#1002)

This commit is contained in:
Kai Jellinghaus
2022-12-07 14:22:07 +01:00
committed by GitHub
parent a27c503831
commit 3bd53fe433

View File

@@ -59,7 +59,10 @@ async function pull(opts: GlobalOptions) {
await pushResourceTypeDef(
workspace.workspaceId,
x.name,
x,
{
description: x.description,
schema: JSON.parse(x.schema),
},
);
}
}