Skip to content

Commit d85269a

Browse files
authored
Merge pull request #59 from OpenRailAssociation/fix-mixed-app-auth
2 parents efcb917 + ddc63a4 commit d85269a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gh_org_mgr/manage.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,12 @@ def main():
112112
)
113113

114114
# Login to GitHub with token, get GitHub organisation
115-
org.login(cfg_org.get("org_name", ""), cfg_app.get("github_token", ""))
115+
org.login(
116+
orgname=cfg_org.get("org_name", ""),
117+
token=cfg_app.get("github_token", ""),
118+
app_id=cfg_app.get("github_app_id", ""),
119+
app_private_key=cfg_app.get("github_app_private_key", ""),
120+
)
116121
# Get current rate limit
117122
org.ratelimit()
118123

0 commit comments

Comments
 (0)