set rancher national code status from 402 to 403
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user