From 3d27ff8d66ade354ab0b2ca58c11d2448459ac97 Mon Sep 17 00:00:00 2001 From: christopher lee Date: Thu, 10 May 2018 12:03:14 -0400 Subject: [PATCH] Fix incorrect rate limit settings --- common/djangoapps/enrollment/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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