Skip to content

Commit

Permalink
clear
Browse files Browse the repository at this point in the history
  • Loading branch information
RusovDmitriy committed Jan 13, 2025
1 parent eb67c77 commit 23fadfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-backend-cloud/src/cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class CubeCloudClient {
}

public setEnvVars({ envVariables, auth, replaceEnv }: { envVariables: DotenvParseOutput, auth?: AuthObject, replaceEnv?: boolean }) {
const params = new URLSearchParams({ replaceEnv: replaceEnv ? 'true' : 'false' });
const params = new URLSearchParams({ replaceEnv: Boolean(replaceEnv).toString() });
return this.request({
url: (deploymentId) => `build/deploy/${deploymentId}/set-env?${params.toString()}`,
method: 'POST',
Expand Down

0 comments on commit 23fadfa

Please sign in to comment.