We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1f889 commit 5d97844Copy full SHA for 5d97844
gh_org_mgr/_gh_org.py
@@ -83,8 +83,9 @@ def login(
83
84
# Decide how to login. If app set, prefer this
85
if self.gh_app_id and self.gh_app_private_key:
86
- logging.debug("Logging in via app %s", self.gh_app_id)
87
- auth = Auth.AppAuth(app_id=self.gh_app_id, private_key=self.gh_app_private_key)
+ gh_app_id_sanitized = str(self.gh_app_id).strip("'").strip('"')
+ logging.debug("Logging in via app %s", gh_app_id_sanitized)
88
+ auth = Auth.AppAuth(app_id=gh_app_id_sanitized, private_key=self.gh_app_private_key)
89
app = GithubIntegration(auth=auth)
90
try:
91
installation = app.get_org_installation(org=orgname)
0 commit comments