Skip to content

Commit

Permalink
chore: fix request url
Browse files Browse the repository at this point in the history
  • Loading branch information
psamusev committed Sep 25, 2024
1 parent 70ea167 commit 4db7110
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/connector-cli/src/commands/set-auth/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { buildRequestUrl } from '../../common/build-request-url';
import { getConnectorById } from '../../common/get-connector';
import { info, readConnectorConfig, startCommand, success } from '../../core';
import { readAccessToken } from '../../core/read-access-token';
Expand Down Expand Up @@ -59,7 +60,7 @@ export async function runSetAuth(

info('Retrieving connector to update...');
const { id, name } = await getConnectorById({
baseUrl,
baseUrl: buildRequestUrl(baseUrl, environment),
connectorId,
token: accessToken,
});
Expand Down

0 comments on commit 4db7110

Please sign in to comment.