fix: sentry-plugin corrected api parameter name
according to documentation https://docs.sentry.io/api/events/list-a-projects-issues/ Signed-off-by: rodion <rodiongork@github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-sentry': patch
|
||||
---
|
||||
|
||||
fix: parameter name on call to sentry api
|
||||
@@ -32,7 +32,7 @@ export class ProductionSentryApi implements SentryApi {
|
||||
const apiUrl = `${await this.discoveryApi.getBaseUrl('proxy')}/sentry/api`;
|
||||
|
||||
const response = await fetch(
|
||||
`${apiUrl}/0/projects/${this.organization}/${project}/issues/?statsFor=${statsFor}`,
|
||||
`${apiUrl}/0/projects/${this.organization}/${project}/issues/?statsPeriod=${statsFor}`,
|
||||
);
|
||||
|
||||
if (response.status >= 400 && response.status < 600) {
|
||||
|
||||
Reference in New Issue
Block a user