jahidulpabelislam / contribution-counters

Node module for repo's & commit's counter for GitHub, Bitbucket & GitLab.
https://www.npmjs.com/package/contribution-counters
GNU General Public License v3.0
2 stars 0 forks source link

GitLab doesn't work #21

Open richardpickett opened 1 week ago

richardpickett commented 1 week ago
Using the below code, with an access token that has all permissions enabled, produces no counts.

I've also tried by setting a fromDate of a year ago and toDate to now.

It all works correctly for GitHub, just not GitLab.

getGitLabCounts({
      username: "richardpickett",
      accessToken: "************"
    })
jahidulpabelislam commented 6 days ago

Hey @richardpickett.

Ah interesting! I wonder if its todo with your repos being private. I'll try do some testing.

Can I check you get no error messages in console. https://github.com/jahidulpabelislam/contribution-counters/blob/2.x/lib/BaseCounter.js#L130 should be showing if API request errors.