Skip to content

Commit

Permalink
Merge pull request #685 from HubSpot/fix-projects-url
Browse files Browse the repository at this point in the history
pass account id to getEnv
  • Loading branch information
brandenrodgers authored May 6, 2022
2 parents 58d3699 + 58a7f07 commit e4715bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/lib/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const getProjectDetailUrl = (projectName, accountId) => {
if (!projectName) return;

const baseUrl = getHubSpotWebsiteOrigin(
getEnv() === 'qa' ? ENVIRONMENTS.QA : ENVIRONMENTS.PROD
getEnv(accountId) === 'qa' ? ENVIRONMENTS.QA : ENVIRONMENTS.PROD
);

return `${baseUrl}/developer-projects/${accountId}/project/${projectName}`;
Expand Down

0 comments on commit e4715bf

Please sign in to comment.