set rancher national code status from 402 to 403

This commit is contained in:
2025-09-03 09:10:11 +03:30
parent edd98cf3a0
commit 57a7dc5c5a

View File

@@ -145,4 +145,4 @@ class RancherViewSet(viewsets.ModelViewSet, DynamicSearchMixin):
else: else:
return Response({ return Response({
"message": "rancher has not existence" "message": "rancher has not existence"
}, status=status.HTTP_204_NO_CONTENT) }, status=status.HTTP_403_FORBIDDEN)