mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-14 00:09:35 -06:00
No of course it wasnt
This commit is contained in:
@@ -546,7 +546,9 @@ class ConsumerPlugin(
|
|||||||
|
|
||||||
# Create a log entry for the version addition, if enabled
|
# Create a log entry for the version addition, if enabled
|
||||||
if settings.AUDIT_LOG_ENABLED:
|
if settings.AUDIT_LOG_ENABLED:
|
||||||
from auditlog.models import LogEntry
|
from auditlog.models import ( # type: ignore[import-untyped]
|
||||||
|
LogEntry,
|
||||||
|
)
|
||||||
|
|
||||||
LogEntry.objects.log_create(
|
LogEntry.objects.log_create(
|
||||||
instance=root_doc,
|
instance=root_doc,
|
||||||
|
|||||||
Reference in New Issue
Block a user