fix(core): base_url and queue params were wrong
This commit is contained in:
		@@ -54,7 +54,7 @@ def transform_data(data):
 | 
			
		||||
def create_tasks_in_tracker(data):
 | 
			
		||||
    """ Создание задач в ЯндексТрекер """
 | 
			
		||||
 | 
			
		||||
    base_url = 'https://tracker.yandex.ru/APPSANDMOBILE'
 | 
			
		||||
    base_url = 'https://tracker.yandex.ru/v2/issues'
 | 
			
		||||
    headers = {
 | 
			
		||||
        'Host': 'https://api.tracker.yandex.net',
 | 
			
		||||
        'Authorization': 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0',
 | 
			
		||||
@@ -63,6 +63,7 @@ def create_tasks_in_tracker(data):
 | 
			
		||||
    }
 | 
			
		||||
    for task in data:
 | 
			
		||||
        payload = {
 | 
			
		||||
            'queue': 'TESTIMPORT', # Вынести в переменную
 | 
			
		||||
            'summary': task['summary'],
 | 
			
		||||
            'description': task['description'],
 | 
			
		||||
            'createdAt': task['createdAt'],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user