Skip to content

Commit

Permalink
make fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gomez385 committed Oct 1, 2024
1 parent 96aab09 commit ac30e94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion encode_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac30e94

Please sign in to comment.