From 62669ab47ab110f8e872eb0f6e442713cbfc5a42 Mon Sep 17 00:00:00 2001 From: Pavel Samusev Date: Tue, 1 Oct 2024 10:14:11 +0300 Subject: [PATCH] [Feat][WRS-1887] Create disabled connector by default --- src/connector-cli/src/commands/publish/index.ts | 2 +- src/connector-cli/src/commands/publish/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connector-cli/src/commands/publish/index.ts b/src/connector-cli/src/commands/publish/index.ts index 09b22ce..47c1657 100644 --- a/src/connector-cli/src/commands/publish/index.ts +++ b/src/connector-cli/src/commands/publish/index.ts @@ -103,6 +103,6 @@ export async function runPublish( ) : await createNewConnector(requestUrl, accessToken, { ...connectorPayload, - enabled: true, + enabled: false, }); } diff --git a/src/connector-cli/src/commands/publish/types.ts b/src/connector-cli/src/commands/publish/types.ts index 4e15b97..ad294b3 100644 --- a/src/connector-cli/src/commands/publish/types.ts +++ b/src/connector-cli/src/commands/publish/types.ts @@ -19,7 +19,7 @@ interface ConnectorPayload { } export interface CreateConnectorPayload extends ConnectorPayload { - enabled: true; + enabled: false; } export type UpdateConnectorPayload = ConnectorPayload;