fix - deleted user -> trash=True

This commit is contained in:
2025-10-29 16:59:28 +03:30
parent 3b78560bb9
commit 005039dd54
3 changed files with 16 additions and 9 deletions

View File

@@ -174,6 +174,8 @@ class UserViewSet(SoftDeleteMixin, ModelViewSet):
else:
user_relations.soft_delete()
user.soft_delete()
return Response(status=status.HTTP_204_NO_CONTENT)