From 992e99b25f657af296741e6cd92ea9ad5f344ca0 Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Tue, 12 Dec 2023 16:14:44 +0500 Subject: [PATCH] refactor(mapping): create status closed for tasks_completed --- mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapping.py b/mapping.py index c2f3db3..766e710 100644 --- a/mapping.py +++ b/mapping.py @@ -52,7 +52,7 @@ def get_task_status(task): """ Получение данных о статусе задачи """ if task.get('completed') is True: - status = 'resolved' + status = 'closed' completed_at = task.get('completed_at', '') else: status = 'open'