Missing stargazers count
tajo opened this issue · comments
Vojtech Miksu commented
dinorastoder commented
I see that API returns: starCount: 0,
http://react-components.com/api/components/react-portal
Vojtech Miksu commented
Is that from npmjs.org? Can I fix it somehow?
dinorastoder commented
It seams that is a problem with cron job fetch-stars.js
https://github.com/vaffel/react-components/blob/master/app/api/github-api.js#L31
https://github.com/vaffel/react-components/blob/master/cron/fetch-stars.js#L32
Github API is returning correct info stargazers_count: 101,
https://api.github.com/repos/tajo/react-portal
Damon Muma commented
Yep all the stars counts seem to be 0 as far as I can see. Would it make sense to switch to to the GitHub api?