We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc11c7f commit b0b9212Copy full SHA for b0b9212
lib/api/apiUtils/rateLimit/helpers.js
@@ -144,7 +144,7 @@ function getCachedRateLimitConfig(request) {
144
145
function buildRateChecksFromConfig(resourceClass, resourceId, limitConfig) {
146
const checks = [];
147
- if (limitConfig?.RequestsPerSecond?.Limit !== undefined && limitConfig.RequestsPerSecond?.Limit > 0) {
+ if (limitConfig.RequestsPerSecond?.Limit > 0) {
148
checks.push({
149
resourceClass,
150
resourceId,
0 commit comments