From d333aefd505e5cc9678d64271899076f4c3cefb7 Mon Sep 17 00:00:00 2001 From: NoyanAziz Date: Wed, 8 Jan 2025 21:06:05 +0500 Subject: [PATCH] fix: removed throttling for first time discount view (#318) --- commerce_coordinator/apps/lms/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commerce_coordinator/apps/lms/views.py b/commerce_coordinator/apps/lms/views.py index d5f7051a..8ffff3ca 100644 --- a/commerce_coordinator/apps/lms/views.py +++ b/commerce_coordinator/apps/lms/views.py @@ -343,7 +343,7 @@ def post(self, request) -> Response: class FirstTimeDiscountEligibleView(APIView): """View to check if a user is eligible for a first time discount""" permission_classes = [IsAdminUser] - throttle_classes = (UserRateThrottle,) + throttle_classes = [] def post(self, request): """Return True if user is eligible for a first time discount."""