Skip to content

Commit

Permalink
fixes> is_valid_chunked_upload is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
JohananOppongAmoateng authored Jan 4, 2025
1 parent 7b8fd3a commit 59ce63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunked_upload/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def is_valid_chunked_upload(self, chunked_upload):
"""
if chunked_upload.status == COMPLETE:
error_msg = "Upload has already been marked as complete"
return ChunkedUploadError(status=http_status.HTTP_400_BAD_REQUEST,
raise ChunkedUploadError(status=http_status.HTTP_400_BAD_REQUEST,
detail=error_msg)

def md5_check(self, chunked_upload, md5):
Expand Down

0 comments on commit 59ce63b

Please sign in to comment.