fixup! 🐛(backend) race condition create doc

This commit is contained in:
Anthony LC
2025-02-24 10:01:57 +01:00
parent 042034a9c9
commit 0fb51a2453
+1
View File
@@ -637,6 +637,7 @@ class DocumentViewSet(
permission_classes=[],
url_path="create-for-owner",
)
@transaction.atomic
def create_for_owner(self, request):
"""
Create a document on behalf of a specified owner (pre-existing user or invited).