Merge pull request #7680 from RodionGork/patch-1

fix: sentry-plugin API parameter name corrected
This commit is contained in:
Patrik Oldsberg
2021-10-21 00:35:48 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-sentry': patch
---
fix: parameter name on call to sentry api
+1 -1
View File
@@ -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) {