fix: plugin sentry id token / private method

Signed-off-by: rodion <rodiongork@github.com>
This commit is contained in:
rodion
2021-10-31 22:43:24 +03:00
parent 197601f21c
commit 311d604bea
2 changed files with 1 additions and 12 deletions
-11
View File
@@ -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,
+1 -1
View File
@@ -51,7 +51,7 @@ export class ProductionSentryApi implements SentryApi {
return (await response.json()) as SentryIssue[];
}
async authOptions() {
private async authOptions() {
if (!this.identityApi) {
return {};
}