From 67ced5c4db7d3d1f199d2a3132091814477d4fed Mon Sep 17 00:00:00 2001 From: Kirill Gafarov Date: Fri, 24 Nov 2023 16:34:54 +0500 Subject: [PATCH] fix(core): baby one more time - base_url = https://api.tracker.yandex.net/v2/issues --- mapping.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mapping.py b/mapping.py index f7d1d55..a2b2438 100644 --- a/mapping.py +++ b/mapping.py @@ -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()