Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharang committed Apr 22, 2024
1 parent 8605c2d commit f043b72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/js/get_file_author_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ const fileData = {};
try {
const { response } = await httpsGet(allContributorsDataUrl, options)
const contributorData = JSON.parse(response)

for (const contributor of contributorData) {
if (!authorsData[contributor.login]) {
const { contributorCommitsResponse } = await httpsGet(`https://api.github.com/repos/komodoplatform/komodo-docs-mdx/commits?author=${contributor.login}`, options)
const contributorCommits = JSON.parse(contributorCommitsResponse)
const { response } = await httpsGet(`https://api.github.com/repos/komodoplatform/komodo-docs-mdx/commits?author=${contributor.login}`, options)
const contributorCommits = JSON.parse(response)
console.log(contributorCommits)
const commit_emails = new Set();
contributorCommits.forEach(commit => {
if (commit.commit && commit.commit.author && commit.commit.author.email) {
Expand Down

0 comments on commit f043b72

Please sign in to comment.