From 261e4123b78f98d3b03a9dbca7e53e9543b7c7c3 Mon Sep 17 00:00:00 2001 From: RaresCode Date: Mon, 23 Sep 2024 21:37:34 +0300 Subject: [PATCH] Update setup_api.py --- sites/setup_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sites/setup_api.py b/sites/setup_api.py index 1c3f738..587706f 100644 --- a/sites/setup_api.py +++ b/sites/setup_api.py @@ -42,7 +42,8 @@ def get_token(self): def add_jobs(self): post_header = { - 'Authorization': f'Bearer {self.access_token}', + # 'Authorization': f'Bearer {self.access_token}', + 'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI3OTgwNDgyLCJpYXQiOjE3MjcxMTY0ODIsImp0aSI6IjBiYzZhNWZkNTI2ZjQxNjhiOTU3ZjA4YWJiMTFiMWZiIiwidXNlcl9pZCI6OX0.5x9wJuJi3hne8XbO-DayS06szwMKyICD_K3aLAoPi9w' 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36', }