From a752c2fa1fd0cd957e6ece4371468c68f3eef8cf Mon Sep 17 00:00:00 2001 From: winet Date: Sat, 9 Mar 2024 22:40:56 +1000 Subject: [PATCH] fixed parsing run --- app/blueprints/api/tasks/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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