mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
FIx note deletion (#4602)
This commit is contained in:
parent
bedd4dafc4
commit
fec8f90b78
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue