Skip to content

Commit

Permalink
fix: removed throttling for first time discount view (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoyanAziz authored Jan 8, 2025
1 parent 225355c commit d333aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/lms/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit d333aef

Please sign in to comment.