fix(core): incorrect base_url and X-Org-ID values
This commit is contained in:
parent
b3175bda4e
commit
4cbaf1c457
@ -59,9 +59,9 @@ def create_tasks_in_tracker(data):
|
||||
base_url = 'https://tracker.yandex.ru/v2/issues'
|
||||
headers = {
|
||||
'Host': 'api.tracker.yandex.net',
|
||||
'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
|
||||
'X-Org-ID': '35d164dcf81e48f2b6a532f4badddd33',
|
||||
'Content-Type': 'Mobile&Apps/APPSANDMOBILE-1/json',
|
||||
'Authorization': 'OAuth y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
|
||||
'X-Org-ID': '7095769',
|
||||
'Content-Type': 'appication/json',
|
||||
}
|
||||
for task in data:
|
||||
payload = {
|
||||
@ -88,6 +88,9 @@ def create_tasks_in_tracker(data):
|
||||
'Ошибка при создании задачи в ЯндексТрекер:',
|
||||
response.content,
|
||||
)
|
||||
print(headers)
|
||||
print(payload)
|
||||
exit()
|
||||
|
||||
|
||||
# asana_data = get_data_from_asana()
|
||||
|
Loading…
Reference in New Issue
Block a user