diff --git a/scripts/upload_dev.py b/scripts/upload_dev.py index ec22284cb..a7b8eccab 100644 --- a/scripts/upload_dev.py +++ b/scripts/upload_dev.py @@ -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']}" },