Skip to content

Commit

Permalink
Merge pull request #59 from OpenRailAssociation/fix-mixed-app-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmehl authored Dec 2, 2024
2 parents efcb917 + ddc63a4 commit d85269a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gh_org_mgr/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,12 @@ def main():
)

# Login to GitHub with token, get GitHub organisation
org.login(cfg_org.get("org_name", ""), cfg_app.get("github_token", ""))
org.login(
orgname=cfg_org.get("org_name", ""),
token=cfg_app.get("github_token", ""),
app_id=cfg_app.get("github_app_id", ""),
app_private_key=cfg_app.get("github_app_private_key", ""),
)
# Get current rate limit
org.ratelimit()

Expand Down

0 comments on commit d85269a

Please sign in to comment.