refactor(mapping): correct headers according to Ya_T Documentation
This commit is contained in:
parent
de88475e40
commit
4ca5ee7f27
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user