refactor(mapping): create status closed for tasks_completed
This commit is contained in:
parent
f3cac73622
commit
992e99b25f
@ -52,7 +52,7 @@ def get_task_status(task):
|
|||||||
""" Получение данных о статусе задачи """
|
""" Получение данных о статусе задачи """
|
||||||
|
|
||||||
if task.get('completed') is True:
|
if task.get('completed') is True:
|
||||||
status = 'resolved'
|
status = 'closed'
|
||||||
completed_at = task.get('completed_at', '')
|
completed_at = task.get('completed_at', '')
|
||||||
else:
|
else:
|
||||||
status = 'open'
|
status = 'open'
|
||||||
|
Loading…
Reference in New Issue
Block a user