refactor(mapping): correct base urland content type
This commit is contained in:
		@@ -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 = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user