fix: sentry-plugin query parameter is optional

Signed-off-by: rodion <rodiongork@github.com>
This commit is contained in:
rodion
2021-10-25 15:05:07 +03:00
parent 97231f5581
commit 43b77e1e5e
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ export class ProductionSentryApi implements SentryApi {
fetchIssues(
project: string,
statsFor: string,
query: string,
query?: string,
): Promise<SentryIssue[]>;
}
@@ -56,7 +56,7 @@ export interface SentryApi {
fetchIssues(
project: string,
statsFor: string,
query: string,
query?: string,
): Promise<SentryIssue[]>;
}
+1 -1
View File
@@ -27,7 +27,7 @@ export class ProductionSentryApi implements SentryApi {
async fetchIssues(
project: string,
statsFor: string,
query: string,
query?: string,
): Promise<SentryIssue[]> {
if (!project) {
return [];
+1 -1
View File
@@ -26,6 +26,6 @@ export interface SentryApi {
fetchIssues(
project: string,
statsFor: string,
query: string,
query?: string,
): Promise<SentryIssue[]>;
}