Skip to content

Commit

Permalink
Update contributors-data.js
Browse files Browse the repository at this point in the history
removing references to "trueGithubContributors"
  • Loading branch information
t-will-gillis authored Oct 29, 2023
1 parent fafccae commit bae67cd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
const fs = require("fs");
const { Octokit } = require("@octokit/rest");
const trueContributorsMixin = require("true-github-contributors");
// const trueContributorsMixin = require("true-github-contributors");

// Extend Octokit with new contributor endpoints and construct instance of class with Auth token
Object.assign(Octokit.prototype, trueContributorsMixin);
// Object.assign(Octokit.prototype, trueContributorsMixin);
Object.assign(Octokit.prototype);
const octokit = new Octokit({ auth: process.env.token });

// Set variables to avoid hard-coding
Expand Down

0 comments on commit bae67cd

Please sign in to comment.