Tweak: Ignore version docs for workflows (#12217)

This commit is contained in:
shamoon
2026-03-02 08:21:14 -08:00
committed by GitHub
parent 20173a2863
commit 96ac7b2336
5 changed files with 137 additions and 4 deletions
+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,