refactor(mapping): create status closed for tasks_completed

This commit is contained in:
Angelina Tingaeva 2023-12-12 16:14:44 +05:00
parent f3cac73622
commit 992e99b25f

View File

@ -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'