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 c2f8359 commit 19f28eeCopy full SHA for 19f28ee
detect_secrets_stream/github_client/github_app.py
@@ -51,7 +51,7 @@ def _refresh_jwt_token(self):
51
}
52
53
jwt_token = jwt.encode(payload, self._app_private_key, algorithm='RS256')
54
- self._app_github = GitHub(token_list=[jwt_token.decode('ascii')])
+ self._app_github = GitHub(token_list=[jwt_token])
55
56
def _get_installation_id(self, org_or_repo):
57
""" Gets the installation id of the app for the given org, repo, or user.
0 commit comments