Skip to content

Commit

Permalink
[Feat][WRS-1887] Create disabled connector by default
Browse files Browse the repository at this point in the history
  • Loading branch information
psamusev committed Oct 1, 2024
1 parent eac2128 commit 62669ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/connector-cli/src/commands/publish/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ export async function runPublish(
)
: await createNewConnector(requestUrl, accessToken, {
...connectorPayload,
enabled: true,
enabled: false,
});
}
2 changes: 1 addition & 1 deletion src/connector-cli/src/commands/publish/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface ConnectorPayload {
}

export interface CreateConnectorPayload extends ConnectorPayload {
enabled: true;
enabled: false;
}

export type UpdateConnectorPayload = ConnectorPayload;

0 comments on commit 62669ab

Please sign in to comment.