From 3d60f20cc6bc9bd18c44c507b832f647731fdb50 Mon Sep 17 00:00:00 2001 From: Aaron Katz Date: Tue, 24 Oct 2023 21:21:05 +0200 Subject: [PATCH] Removed extra timezone.now() --- src/documents/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/documents/views.py b/src/documents/views.py index f921a67bc..8f2be0549 100644 --- a/src/documents/views.py +++ b/src/documents/views.py @@ -527,7 +527,6 @@ class DocumentViewSet( # If audit log is enabled make an entry in the log # about this note change if settings.AUDIT_LOG_ENABLED: - timezone.now() LogEntry.objects.log_create( instance=doc, changes=json.dumps( @@ -563,7 +562,6 @@ class DocumentViewSet( note = Note.objects.get(id=int(request.GET.get("id"))) if settings.AUDIT_LOG_ENABLED: - timezone.now() LogEntry.objects.log_create( instance=doc, changes=json.dumps(