Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/workspace/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'By creating a workspace you accept the Polylane Terms of Service: https://console.polylane.com/terms\n',
);

const body: CreateWorkspaceBody = { name };
const body: CreateWorkspaceBody = { name, acceptTerms: true };

Check failure on line 37 in src/commands/workspace/create.ts

View workflow job for this annotation

GitHub Actions / checks / Test & typecheck (22.x)

Object literal may only specify known properties, and 'acceptTerms' does not exist in type '{ name: string; description?: string | null | undefined; slug?: string | undefined; }'.

Check failure on line 37 in src/commands/workspace/create.ts

View workflow job for this annotation

GitHub Actions / checks / Test & typecheck (24.x)

Object literal may only specify known properties, and 'acceptTerms' does not exist in type '{ name: string; description?: string | null | undefined; slug?: string | undefined; }'.

Check failure on line 37 in src/commands/workspace/create.ts

View workflow job for this annotation

GitHub Actions / checks / Test & typecheck (20.x)

Object literal may only specify known properties, and 'acceptTerms' does not exist in type '{ name: string; description?: string | null | undefined; slug?: string | undefined; }'.
if (description !== undefined) body.description = description;
if (slug !== undefined) body.slug = slug;

Expand Down
Loading