fix(assignee): change "segavol" to "segavol.dev"

This commit is contained in:
Angelina Tingaeva 2023-11-29 11:11:46 +05:00
parent 957fd6403f
commit d528153b0f
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,6 @@ Diza,2495641457856,irina.ux
Никита,547756841476,nikita
Cyrill Gafarov,2934206415688,dr.cyrill
Илья,1203071663735925,dr.cyrill
Sergey Volodin,1202859655765863,segavol
Sergey Volodin,1202859655765863,segavol.dev
Malkova,698025068994499,malkova.content
IrinaOs,1204278463134045,irina.ux

1 Name ID ya_login
4 Никита 547756841476 nikita
5 Cyrill Gafarov 2934206415688 dr.cyrill
6 Илья 1203071663735925 dr.cyrill
7 Sergey Volodin 1202859655765863 segavol segavol.dev
8 Malkova 698025068994499 malkova.content
9 IrinaOs 1204278463134045 irina.ux

View File

@ -89,8 +89,8 @@ def create_tasks_in_tracker(data):
for task in data:
if task.get('assignee') and 'gid' in task['assignee']:
ya_assignee = assignee.get(task['assignee']['gid'], 'dr.cyrill')
elif task.get('assignee') == 'segavol':
ya_assignee = 'dr.cyrill'
# elif task.get('assignee') and 'name' == 'segavol' in task['assignee']:
# ya_assignee = assignee.get(task['assignee']['gid'], 'segavol.dev')
else:
ya_assignee = 'dr.cyrill'