Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj committed Aug 1, 2024
1 parent 088489a commit 233c252
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,10 @@ class GithubUser {
const contributorsResults = await Promise.all(contributorsPromises);
octokit.log.debug("✅ fetchAllcontributors.status:", (contributorsResults.flatMap(element => element.status)))
const contributors = contributorsResults.flatMap(result => result.data);
octokit.log.debug("✅ contributors hasOwn:login :", Object.entries(contributors).map(([index, total, weeks]) => ({
octokit.log.debug("✅ contributors hasOwn:login :", Object.entries(contributors).map(([index, total]) => ({
index,
total: total.total,
weeks: Object.values(total.weeks),
author: Object.values(total.author)
author: Object.values(total.author)[0]
}))
)
const authenticate = (element => element.author ? element.author.login === username : '')
Expand Down

0 comments on commit 233c252

Please sign in to comment.