diff --git a/connectors/src/connectors/confluence/lib/cli.ts b/connectors/src/connectors/confluence/lib/cli.ts index 4adf4e9ff670..a7e92bd62453 100644 --- a/connectors/src/connectors/confluence/lib/cli.ts +++ b/connectors/src/connectors/confluence/lib/cli.ts @@ -57,7 +57,8 @@ export const confluence = async ({ if (!args.pageId) { throw new Error("Missing --pageId argument"); } - const { connectorId, pageId } = args; + const { connectorId } = args; + const pageId = args.pageId.toString(); const client = await getTemporalClient(); const workflow = await client.workflow.start( diff --git a/types/src/connectors/admin/cli.ts b/types/src/connectors/admin/cli.ts index 539cb18dd17a..8484f6b17094 100644 --- a/types/src/connectors/admin/cli.ts +++ b/types/src/connectors/admin/cli.ts @@ -35,7 +35,7 @@ export const ConfluenceCommandSchema = t.type({ ]), args: t.type({ connectorId: t.union([t.number, t.undefined]), - pageId: t.union([t.string, t.undefined]), + pageId: t.union([t.number, t.undefined]), file: t.union([t.string, t.undefined]), keyInFile: t.union([t.string, t.undefined]), }),