From 7357355714c9eac9db127090f5c40407ebf59eae Mon Sep 17 00:00:00 2001 From: zugdev Date: Tue, 17 Dec 2024 03:15:48 -0300 Subject: [PATCH] chore: micro lint --- src/home/fetch-github/fetch-data.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/home/fetch-github/fetch-data.ts b/src/home/fetch-github/fetch-data.ts index a6eb380..a42f0ec 100644 --- a/src/home/fetch-github/fetch-data.ts +++ b/src/home/fetch-github/fetch-data.ts @@ -215,17 +215,13 @@ function countBacklinks(aggregated: GitHubAggregated, allPullRequests: GitHubPul // Fetch all notifications and return them as an array of aggregated data export async function fetchAllNotifications(): Promise { // fetches all notifications, pull requests and issues in parallel - const [notifications, pullRequests, issues] = await Promise.all([ - fetchNotifications(), - fetchPullRequests(), - fetchIssues() - ]); + const [notifications, pullRequests, issues] = await Promise.all([fetchNotifications(), fetchPullRequests(), fetchIssues()]); if (!notifications || !pullRequests || !issues) return null; const [pullRequestNotifications, issueNotifications] = await Promise.all([ getPullRequestNotifications(notifications, pullRequests, issues), - getIssueNotifications(notifications, issues) + getIssueNotifications(notifications, issues), ]); if (!pullRequestNotifications && !issueNotifications) return null;