refactor(mapping): correct base urland content type
This commit is contained in:
parent
4ca5ee7f27
commit
0d2508c204
@ -54,12 +54,12 @@ def transform_data(data):
|
||||
def create_tasks_in_tracker(data):
|
||||
""" Создание задач в ЯндексТрекер """
|
||||
|
||||
base_url = 'https://api.tracker.yandex.net/v2/issues'
|
||||
base_url = 'https://tracker.yandex.ru/APPSANDMOBILE'
|
||||
headers = {
|
||||
'Host': 'https://api.tracker.yandex.net',
|
||||
'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
|
||||
'X-Org-ID': '35d164dcf81e48f2b6a532f4badddd33',
|
||||
# 'Content-Type': 'asana_data_json',
|
||||
'Content-Type': 'Mobile&Apps/APPSANDMOBILE-1/json',
|
||||
}
|
||||
for task in data:
|
||||
payload = {
|
||||
|
Loading…
Reference in New Issue
Block a user