Skip to content

Commit

Permalink
chore(hybrid-cloud): Updates TS issue API request to include sentry o…
Browse files Browse the repository at this point in the history
…rg slug (#68)
  • Loading branch information
GabeVillalobos authored May 28, 2024
1 parent c01b80b commit 592e1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-ts/src/api/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function addSentryAPIData(
organization.items.map(async item => {
if (item.sentryId) {
// Use the numerical ID to fetch the short ID
const sentryData = await sentry.get(`/issues/${item.sentryId}/`);
const sentryData = await sentry.get(`/organizations/${organization.externalSlug}/issues/${item.sentryId}/`);
// Replace the numerical ID with the short ID
const shortId = (sentryData || {})?.data?.shortId;
if (shortId) {
Expand Down

0 comments on commit 592e1fd

Please sign in to comment.