diff --git a/src/documents/views.py b/src/documents/views.py index abd2e5f2f..6f0be2164 100644 --- a/src/documents/views.py +++ b/src/documents/views.py @@ -635,7 +635,7 @@ class PostDocumentView(GenericAPIView): task_id = str(uuid.uuid4()) - consume_file.delay( + async_task = consume_file.delay( # Paths are not JSON friendly str(temp_file_path), override_title=title,