diff --git a/mapping.py b/mapping.py index 787de13..f05c802 100644 --- a/mapping.py +++ b/mapping.py @@ -56,8 +56,10 @@ def create_tasks_in_tracker(data): base_url = 'https://api.tracker.yandex.net/v2/issues' headers = { - 'Authorization': 'ORG_ID', - 'Content-Type': 'asana_data_json', + 'Host': 'https://api.tracker.yandex.net', + 'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0', + 'X-Org-ID': '35d164dcf81e48f2b6a532f4badddd33', + # 'Content-Type': 'asana_data_json', } for task in data: payload = {