From 57a7dc5c5a74df44f43f51476beef3fb8a98a158 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Wed, 3 Sep 2025 09:10:11 +0330 Subject: [PATCH] set rancher national code status from 402 to 403 --- apps/herd/pos/api/v1/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/herd/pos/api/v1/api.py b/apps/herd/pos/api/v1/api.py index cfdd381..2c19f67 100644 --- a/apps/herd/pos/api/v1/api.py +++ b/apps/herd/pos/api/v1/api.py @@ -145,4 +145,4 @@ class RancherViewSet(viewsets.ModelViewSet, DynamicSearchMixin): else: return Response({ "message": "rancher has not existence" - }, status=status.HTTP_204_NO_CONTENT) + }, status=status.HTTP_403_FORBIDDEN)