FIx note deletion (#4602)
This commit is contained in:
parent
bedd4dafc4
commit
fec8f90b78
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user