mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-16 00:19:32 -06:00
Fix deleted audit log
[ci skip]
This commit is contained in:
@@ -1611,7 +1611,7 @@ class DocumentViewSet(
|
||||
LogEntry.objects.log_create(
|
||||
instance=root_doc,
|
||||
changes={
|
||||
"Version Deleted": [version_doc_id, "None"],
|
||||
"Version Deleted": ["None", version_doc_id],
|
||||
},
|
||||
action=LogEntry.Action.UPDATE,
|
||||
actor=actor,
|
||||
|
||||
Reference in New Issue
Block a user