mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
update files and model to include new field
This commit is contained in:
parent
0878a199f4
commit
3fcbd8f3ac
5 changed files with 15 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue