vaffel / react-components

Searchable repository of React-components
http://react-components.com/
MIT License
164 stars 22 forks source link

Missing stargazers count #30

Open tajo opened 9 years ago

tajo commented 9 years ago

http://react-components.com/component/react-portal

What's wrong?

dinorastoder commented 9 years ago

I see that API returns: starCount: 0, http://react-components.com/api/components/react-portal

tajo commented 9 years ago

Is that from npmjs.org? Can I fix it somehow?

dinorastoder commented 9 years ago

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

thedamon commented 8 years ago

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?