Skip to content

Commit b271128

Browse files
committed
fix: correct formatting in fetchUserContributions response mapping
1 parent c6c6caa commit b271128

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/github-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,11 @@ export class GitHubClient {
233233
});
234234

235235
const calendar = response.user.contributionsCollection.contributionCalendar;
236-
236+
237237
return {
238238
username,
239239
totalContributions: calendar.totalContributions,
240-
weeks: calendar.weeks.map((week: any) =>
240+
weeks: calendar.weeks.map((week: any) =>
241241
week.contributionDays.map((day: any) => ({
242242
date: day.date,
243243
count: day.contributionCount,

0 commit comments

Comments
 (0)