update files and model to include new field

This commit is contained in:
Gwyn Hannay
2022-06-18 08:10:22 +08:00
committed by Trenton Holmes
parent 0878a199f4
commit 3fcbd8f3ac
5 changed files with 15 additions and 0 deletions

View File

@@ -313,6 +313,7 @@ class DocumentViewSet(
"original_metadata": self.get_metadata(doc.source_path, doc.mime_type),
"archive_checksum": doc.archive_checksum,
"archive_media_filename": doc.archive_filename,
"original_filename": doc.original_filename,
}
if doc.has_archive_version: