From 3a238250beef46e12219f1d538c4efd568dd52dd Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Thu, 29 Sep 2022 14:58:15 -0400 Subject: [PATCH] Run import step synchronously (#605) --- miqa/core/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miqa/core/tasks.py b/miqa/core/tasks.py index 16b27521..df2d6ee8 100644 --- a/miqa/core/tasks.py +++ b/miqa/core/tasks.py @@ -156,7 +156,7 @@ def import_data(project_id: Optional[str]): raise APIException(f'MIQA lacks permission to read {import_path}.') import_dict, not_found_errors = validate_import_dict(import_dict, project) - perform_import.delay(import_dict) + perform_import(import_dict) return not_found_errors