Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions updateProject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ async function getUpcomingProjects() {
async function getContributorsList() {
const githubApiUrl = "https://api.github.com/users/mindfiredigital/repos";
const githubToken = process.env.GITHUB_TOKEN;
console.log("my github token", githubToken);

try {
const github_response = await fetch(githubApiUrl, {
Expand Down Expand Up @@ -199,6 +200,7 @@ async function getContributorsList() {
projectsJsonPath,
JSON.stringify(sortedContributions, null, 2)
);
console.log("Contributors list updated successfully.");
} catch (error) {
console.log(error);
}
Expand Down