Skip to content

Commit

Permalink
Update docker-app/qfieldcloud/core/views/files_views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed May 21, 2024
1 parent 92bf421 commit 9e5e7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-app/qfieldcloud/core/views/files_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get(self, request: Request, projectid: str) -> Response:
filename = str(path.relative_to(*path.parts[:3]))
last_modified = version.last_modified.strftime("%d.%m.%Y %H:%M:%S %Z")
# NOTE ETag is a MD5. But for the multipart uploaded files, the MD5 is computed from the concatenation of the MD5s of each uploaded part.
# TODO make sure when file metadata is in the DB, this is a real md5sum of the current file.
# TODO make sure when file metadata is in the DB (QF-2760), this is a real md5sum of the current file.
md5sum = version.e_tag.replace('"', "")

version_data = {
Expand Down

0 comments on commit 9e5e7fd

Please sign in to comment.