diff --git a/ai_ta_backend/service/export_service.py b/ai_ta_backend/service/export_service.py index 253ab1fa..1c300bc4 100644 --- a/ai_ta_backend/service/export_service.py +++ b/ai_ta_backend/service/export_service.py @@ -43,7 +43,7 @@ def export_documents_json(self, course_name: str, from_date='', to_date=''): # background task of downloading data - map it with above ID executor = ProcessPoolExecutor() executor.submit(self.export_data_in_bg, response, "documents", course_name, s3_filepath) - return {"response": 'There are 500+ documents in the export. You will receive an email with the download link shortly!', + return {"response": 'Download from S3', "s3_path": s3_filepath} else: