mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
FIx note deletion (#4602)
This commit is contained in:
parent
bedd4dafc4
commit
fec8f90b78
@ -583,7 +583,7 @@ class DocumentViewSet(
|
|||||||
|
|
||||||
from documents import index
|
from documents import index
|
||||||
|
|
||||||
index.add_or_update_document(self.get_object())
|
index.add_or_update_document(doc)
|
||||||
|
|
||||||
return Response(self.getNotes(doc))
|
return Response(self.getNotes(doc))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user