fix: sentry-plugin query parameter is optional
Signed-off-by: rodion <rodiongork@github.com>
This commit is contained in:
@@ -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[]>;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export class ProductionSentryApi implements SentryApi {
|
||||
async fetchIssues(
|
||||
project: string,
|
||||
statsFor: string,
|
||||
query: string,
|
||||
query?: string,
|
||||
): Promise<SentryIssue[]> {
|
||||
if (!project) {
|
||||
return [];
|
||||
|
||||
@@ -26,6 +26,6 @@ export interface SentryApi {
|
||||
fetchIssues(
|
||||
project: string,
|
||||
statsFor: string,
|
||||
query: string,
|
||||
query?: string,
|
||||
): Promise<SentryIssue[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user