From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 16 Nov 2023 04:25:17 +0000 (-0800) Subject: FIx note deletion (#4602) X-Git-Tag: v2.0.0~3^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec8f90b78038eb39db5fb32b16a4e13f5801b47;p=thirdparty%2Fpaperless-ngx.git FIx note deletion (#4602) --- diff --git a/src/documents/views.py b/src/documents/views.py index 00d16022f4..386f874044 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))