diff --git a/common/djangoapps/enrollment/views.py b/common/djangoapps/enrollment/views.py index cb5e7577e9..ef86e70ad3 100644 --- a/common/djangoapps/enrollment/views.py +++ b/common/djangoapps/enrollment/views.py @@ -99,9 +99,7 @@ class EnrollmentUserThrottle(UserRateThrottle, ApiKeyPermissionMixIn): # Original rate Limit before rate limit increases. if USE_UNIVERSAL_RATE_LIMIT_FOR_ENROLLMENT_API.is_enabled(): - THROTTLE_RATES = { - 'user': '40/minute', - } + rate = '40/minute' def allow_request(self, request, view): # Use a special scope for staff to allow for a separate throttle rate