1
0
Fork 0

cleanup and linting

This commit is contained in:
Hugh Rundle 2024-01-18 18:43:45 +11:00
parent 833f26fd0e
commit 469172947b
No known key found for this signature in database
GPG key ID: A7E35779918253F9
4 changed files with 26 additions and 18 deletions

View file

@ -187,6 +187,7 @@ class ExportUser(View):
class ExportArchive(View):
"""Serve the archive file"""
# TODO: how do we serve s3 files?
def get(self, request, archive_id):
"""download user export file"""
export = BookwyrmExportJob.objects.get(task_id=archive_id, user=request.user)