Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk committed Sep 26, 2024
1 parent 08d6e2f commit a730802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/terraform-cloud-scanner/src/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ function buildWorkspaceLink(workspace: Workspace): Record<string, string> {
async function getOrCreateProviderId(): Promise<string | null> {
return api
.upsertTargetProvider({
workspaceId: env.CTRLPLANE_WORKSPACE_ID.toString(),
name: env.CTRLPLANE_SCANNER_NAME.toString(),
workspaceId: env.CTRLPLANE_WORKSPACE_ID,
name: env.CTRLPLANE_SCANNER_NAME,
})
.then(({ id }) => {
logger.info(`Using provider ID: ${id}`);
Expand Down

0 comments on commit a730802

Please sign in to comment.