fix - deleted user -> trash=True
This commit is contained in:
@@ -174,6 +174,8 @@ class UserViewSet(SoftDeleteMixin, ModelViewSet):
|
||||
else:
|
||||
user_relations.soft_delete()
|
||||
|
||||
user.soft_delete()
|
||||
|
||||
return Response(status=status.HTTP_204_NO_CONTENT)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user