diff --git a/app/blueprints/api/tasks/routes.py b/app/blueprints/api/tasks/routes.py index 95fdec6..f7054f9 100644 --- a/app/blueprints/api/tasks/routes.py +++ b/app/blueprints/api/tasks/routes.py @@ -95,7 +95,7 @@ def start_task(task_id: int): add_to_group_task.delay(task_id=task_id) case 'parse': - parse_users_task.apply(task_id=task_id) + parse_users_task.run(task_id=task_id) delete_task(task_id) return '', 204