Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccurate cli star count #9

Closed
dawsbot opened this issue Apr 14, 2017 · 0 comments · Fixed by #10
Closed

Inaccurate cli star count #9

dawsbot opened this issue Apr 14, 2017 · 0 comments · Fixed by #10

Comments

@dawsbot
Copy link

dawsbot commented Apr 14, 2017

In master of r-dom:

screen shot 2017-04-14 at 11 47 22 am

After opening my browser, only two of the starred repos are reflected.

screen shot 2017-04-14 at 11 48 16 am

This is expected since I've already starred some of the repos. So instead of stating in the terminal "🌟 Successfully starred 11 repos.", it should say "🌟 Successfully starred 2 repos."

Potential Fix

First call GET /user/starred/:owner/:repo from here. Only star repos that are not already starred, since the api response to star a repo seems to be the same whether it was already starred or not.

screen shot 2017-04-14 at 11 57 38 am

@ritz078 ritz078 mentioned this issue Apr 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant