diff --git a/scripts/associate-issue-with-sentry.ts b/scripts/associate-issue-with-sentry.ts index 66a79f1746..50844cc29f 100644 --- a/scripts/associate-issue-with-sentry.ts +++ b/scripts/associate-issue-with-sentry.ts @@ -15,7 +15,7 @@ if (!sentryId) { throw new Error("Missing sentry_id"); } -const response = await fetch(`https://sentry.io/api/0/organizations/4507155222364160/events/${sentryId}/`, { +const response = await fetch(`https://sentry.io/api/0/organizations/4507155222364160/eventids/${sentryId}/`, { headers: { Authorization: `Bearer ${SENTRY_AUTH_TOKEN}`, },