Skip to content

Commit

Permalink
🐛 Use state: all when looking for issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 22, 2020
1 parent c535e1f commit bcfeefc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/calculate-uptime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const getDowntimeSecondsForSite = async (slug: string): Promise<number> => {
repo,
labels: `status,${slug}`,
filter: "all",
state: "all",
per_page: 100,
});

Expand Down
1 change: 1 addition & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface UpptimeConfig {
assignees?: string[];
headers?: string[];
slug?: string;
maxResponseTime?: number;
__dangerous__insecure?: boolean;
}[];
notifications?: { type: string; [index: string]: string }[];
Expand Down

0 comments on commit bcfeefc

Please sign in to comment.