From ac30e945037665334434f501b86f59753b50c41b Mon Sep 17 00:00:00 2001 From: gomez385 Date: Tue, 1 Oct 2024 17:50:03 -0400 Subject: [PATCH] make fix --- encode_jwt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/encode_jwt.py b/encode_jwt.py index a77dcc1..b2e7e51 100644 --- a/encode_jwt.py +++ b/encode_jwt.py @@ -68,8 +68,10 @@ "Accept": "application/vnd.github+json" } +print(jwt_token) + # Make the request to the GitHub Enterprise API to get the installation access token -url = f"{args.enterprise_url}/api/v3/app/installations/{args.installation_id}/access_tokens" +url = f"{args.enterprise_url}api/v3/app/installations/{args.installation_id}/access_tokens" response = requests.post(url, headers=headers) # Check if the request was successful