github-repo-size icon indicating copy to clipboard operation
github-repo-size copied to clipboard

Not working in private repos (404)

Open nmaxcom opened this issue 5 years ago • 4 comments

Even though I generated the token and added to the extension I get this in the console:

Failed to load resource: the server responded with a status of 404 (Not Found)
inject.js:109 Error: GitHub returned a bad status: 404
    at checkStatus (inject.js:79)

When I try that 404 fetch myself I see this:

image

nmaxcom avatar Jan 28 '19 21:01 nmaxcom

Strange! It is working for me on private repos. Do you have permission to view that private repo?

harshjv avatar May 25 '19 18:05 harshjv

Yes, as you can tell from the URL and my username, it is my private repo 😂

nmaxcom avatar Jun 04 '19 13:06 nmaxcom

Haha. Ya, missed it the first time.

I am unable to reproduce the results. It is working correctly on my private repos.

Did you try the latest version of this extension? It's 0.5.0.

harshjv avatar Jun 04 '19 14:06 harshjv

I'm sorry, I'm way over my head in work. Otherwise, I'd dig a bit and find the bug. Could you link me the new version?

nmaxcom avatar Jun 04 '19 21:06 nmaxcom