Skip to content

Commit 8cc472b

Browse files
authored
Merge pull request #6325 from Shopify/08-27-fix_url_generation_for_release_message
Fix URL generation for release message
2 parents 13b28bc + b939690 commit 8cc472b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/wild-moles-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/app': patch
3+
---
4+
5+
Fix deeplink URL after a deploy

packages/app/src/cli/utilities/developer-platform-client/app-management-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,8 @@ async function appDeepLink({
12301230
id,
12311231
organizationId,
12321232
}: Pick<MinimalAppIdentifiers, 'id' | 'organizationId'>): Promise<string> {
1233-
return `https://${await developerDashboardFqdn()}/dashboard/${organizationId}/apps/${numberFromGid(id)}`
1233+
const orgId = numberFromGid(organizationId).toString()
1234+
return `https://${await developerDashboardFqdn()}/dashboard/${orgId}/apps/${numberFromGid(id)}`
12341235
}
12351236

12361237
export async function versionDeepLink(organizationId: string, appId: string, versionId: string): Promise<string> {

0 commit comments

Comments
 (0)