Commit a769ddba by John Jarvis

changing orgs to users for github api query

parent 10b8f927
...@@ -43,7 +43,7 @@ def refresh_cache(): ...@@ -43,7 +43,7 @@ def refresh_cache():
repos = [] repos = []
for org in orgs: for org in orgs:
r = requests.get('https://api.github.com/orgs/{}/repos'.format(org)) r = requests.get('https://api.github.com/users/{}/repos'.format(org))
org_data = r.json() org_data = r.json()
for repo_data in org_data: for repo_data in org_data:
if 'html_url' in repo_data: if 'html_url' in repo_data:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment