fix(core): baby one more time - base_url = https://api.tracker.yandex.net/v2/issues

This commit is contained in:
Kirill Gafarov 2023-11-24 16:34:54 +05:00
parent 4cbaf1c457
commit 67ced5c4db

View File

@ -56,7 +56,7 @@ def transform_data(data):
def create_tasks_in_tracker(data):
""" Создание задач в ЯндексТрекер """
base_url = 'https://tracker.yandex.ru/v2/issues'
base_url = 'https://api.tracker.yandex.net/v2/issues'
headers = {
'Host': 'api.tracker.yandex.net',
'Authorization': 'OAuth y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
@ -88,9 +88,6 @@ def create_tasks_in_tracker(data):
'Ошибка при создании задачи в ЯндексТрекер:',
response.content,
)
print(headers)
print(payload)
exit()
# asana_data = get_data_from_asana()