Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Jan 9, 2025
1 parent dfb1aa0 commit 4ba40f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/home/fetch-github/fetch-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GitHubAggregated, GitHubIssue, GitHubNotification, GitHubNotifications,
import { getGitHubAccessToken } from "../getters/get-github-access-token";
import { handleRateLimit } from "./handle-rate-limit";
import { RequestError } from "@octokit/request-error";
import { testAllNotifications } from "./test-all-notifications";
// import { testAllNotifications } from "./test-all-notifications";

export const organizationImageCache = new Map<string, Blob | null>(); // this should be declared in image related script

Expand Down Expand Up @@ -243,7 +243,7 @@ export async function fetchAllNotifications(): Promise<GitHubAggregated[] | null

if (!pullRequestNotifications && !issueNotifications) return null;

const allNotifications = testAllNotifications;//[...(pullRequestNotifications || []), ...(issueNotifications || [])];
const allNotifications = [...(pullRequestNotifications || []), ...(issueNotifications || [])];

// filter notifs with priority label
const filteredNotifications = allNotifications.filter((aggregated) => {
Expand Down

0 comments on commit 4ba40f3

Please sign in to comment.