Skip to content

Commit 8a773d0

Browse files
Merge pull request #101 from praliptarajoo/contributors-page
fix: contributors page
2 parents 5ac857e + 0af2cad commit 8a773d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

updateProject.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ async function getUpcomingProjects() {
126126
async function getContributorsList() {
127127
const githubApiUrl = "https://api.github.com/users/mindfiredigital/repos";
128128
const githubToken = process.env.GITHUB_TOKEN;
129+
console.log("my github token", githubToken);
129130

130131
try {
131132
const github_response = await fetch(githubApiUrl, {
@@ -199,6 +200,7 @@ async function getContributorsList() {
199200
projectsJsonPath,
200201
JSON.stringify(sortedContributions, null, 2)
201202
);
203+
console.log("Contributors list updated successfully.");
202204
} catch (error) {
203205
console.log(error);
204206
}

0 commit comments

Comments
 (0)