Skip to content

Commit

Permalink
Fix audience urlencode
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-1000 committed Nov 6, 2023
1 parent 10651fa commit 37e626b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
if args.serverupdate:
for url in args.serverupdate:
with requests.post(
f"{os.environ['ACTIONS_ID_TOKEN_REQUEST_URL']}&audience={urllib.parse.urlencode('https://mc.pswg.dev')}",
f"{os.environ['ACTIONS_ID_TOKEN_REQUEST_URL']}&{urllib.parse.urlencode({'audience': 'https://mc.pswg.dev'})}",
headers={
"Authorization": f"Bearer {os.environ['ACTIONS_ID_TOKEN_REQUEST_TOKEN']}"
},
Expand Down

0 comments on commit 37e626b

Please sign in to comment.