From 311d604bea6d5a7885942ca1adfbec15f7a4cf72 Mon Sep 17 00:00:00 2001 From: rodion Date: Sun, 31 Oct 2021 22:43:24 +0300 Subject: [PATCH] fix: plugin sentry id token / private method Signed-off-by: rodion --- plugins/sentry/api-report.md | 11 ----------- plugins/sentry/src/api/production-api.ts | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/plugins/sentry/api-report.md b/plugins/sentry/api-report.md index 1b7a248e48..6d83ddc5e6 100644 --- a/plugins/sentry/api-report.md +++ b/plugins/sentry/api-report.md @@ -41,17 +41,6 @@ export class ProductionSentryApi implements SentryApi { identityApi?: IdentityApi | undefined, ); // (undocumented) - authOptions(): Promise< - | { - headers?: undefined; - } - | { - headers: { - authorization: string; - }; - } - >; - // (undocumented) fetchIssues( project: string, statsFor: string, diff --git a/plugins/sentry/src/api/production-api.ts b/plugins/sentry/src/api/production-api.ts index 37a735df14..1fc6ece37f 100644 --- a/plugins/sentry/src/api/production-api.ts +++ b/plugins/sentry/src/api/production-api.ts @@ -51,7 +51,7 @@ export class ProductionSentryApi implements SentryApi { return (await response.json()) as SentryIssue[]; } - async authOptions() { + private async authOptions() { if (!this.identityApi) { return {}; }