Skip to content

Commit 73f46a6

Browse files
authored
fix: correctly pass project slug as name (#2353)
1 parent 4482ddc commit 73f46a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/codeContext.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const DEFAULTS: CodeKeywords = {
5252
API_URL: "https://sentry.io/api",
5353
PROJECT_ID: 0,
5454
PROJECT_NAME: "example-project",
55+
PROJECT_SLUG: "example-project",
5556
ORG_ID: 0,
5657
ORG_NAME: "example-org",
5758
ORG_SLUG: "exmaple-org",
@@ -114,8 +115,8 @@ export function fetchCodeKeywords() {
114115
SECRET_KEY: parsedDsn.secretKey,
115116
API_URL: formatApiUrl(parsedDsn),
116117
PROJECT_ID: project.id,
117-
PROJECT_SLUG: project.slug,
118-
PROJECT_NAME: project.slug,
118+
PROJECT_NAME: project.projectSlug,
119+
PROJECT_SLUG: project.projectSlug,
119120
ORG_ID: project.organizationId,
120121
ORG_NAME: project.organizationSlug,
121122
ORG_SLUG: project.organizationSlug,

0 commit comments

Comments
 (0)