Skip to content

Commit

Permalink
Typo response -> res
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch authored Dec 19, 2022
1 parent 58f4003 commit 7e18d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_org_users(orgs):
continue
res = requests.get(f"https://api.github.com/orgs/{org}/members")
if res.status_code != 200:
sys.exit(f"{response.status_code}: {response.reason}")
sys.exit(f"{res.status_code}: {res.reason}")
users += [x["login"] for x in res.json()]
return users

Expand Down

0 comments on commit 7e18d16

Please sign in to comment.