Tweak: Ignore version docs for workflows (#12217)

This commit is contained in:
shamoon authored and GitHub committed 2026-03-02 08:21:14 -08:00
1 parent 20173a2863
commit 96ac7b2336
5 files changed
+137 -4

No files matched your search

+10
View File
@@ -1758,6 +1758,11 @@ class DocumentViewSet(
.order_by("-id")
.first()
)
document_updated.send(
sender=self.__class__,
document=root_doc,
)
return Response(
{
"result": "OK",
@@ -1827,6 +1832,11 @@ class DocumentViewSet(
},
)
document_updated.send(
sender=self.__class__,
document=root_doc,
)
return Response(
{
"id": version_doc.id,