Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

FIx note deletion (#4602)

shamoonfec8f90b7803
diff --git a/src/documents/views.py b/src/documents/views.py
index 00d16022f..386f87404 100644
--- a/src/documents/views.py
+++ b/src/documents/views.py
@@ -583,7 +583,7 @@ class DocumentViewSet(
from documents import index
- index.add_or_update_document(self.get_object())
+ index.add_or_update_document(doc)
return Response(self.getNotes(doc))