From bdd6b2ab67b7ecdf98cb69dcd9914415fb87c160 Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Fri, 24 Nov 2023 12:56:46 +0500 Subject: [PATCH] refactor(mapping): correct host --- mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapping.py b/mapping.py index 739f51f..d0c56bb 100644 --- a/mapping.py +++ b/mapping.py @@ -56,7 +56,7 @@ def create_tasks_in_tracker(data): base_url = 'https://tracker.yandex.ru/v2/issues' headers = { - 'Host': 'https://api.tracker.yandex.net', + 'Host': 'api.tracker.yandex.net', 'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0', 'X-Org-ID': '35d164dcf81e48f2b6a532f4badddd33', 'Content-Type': 'Mobile&Apps/APPSANDMOBILE-1/json',