Skip to content

Commit

Permalink
reverse response text for doc export
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Mar 13, 2024
1 parent 0c76854 commit 2107aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_ta_backend/service/export_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2107aae

Please sign in to comment.