Skip to content

Commit 1f0e6d4

Browse files
committedOct 11, 2021
Fix rateLimitWrapper function name typo
1 parent d65d594 commit 1f0e6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/wrappers/rateLimit.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { RateLimiter } = require('limiter');
33

44
const JwksRateLimitError = require('../errors/JwksRateLimitError');
55

6-
function rateLimtWrapper(client, { jwksRequestsPerMinute = 10 }) {
6+
function rateLimitWrapper(client, { jwksRequestsPerMinute = 10 }) {
77
const getSigningKey = client.getSigningKey.bind(client);
88

99
const limiter = new RateLimiter(jwksRequestsPerMinute, 'minute', true);
@@ -31,4 +31,4 @@ function rateLimtWrapper(client, { jwksRequestsPerMinute = 10 }) {
3131
});
3232
}
3333

34-
module.exports.default = rateLimtWrapper;
34+
module.exports.default = rateLimitWrapper;

0 commit comments

Comments
 (0)
Please sign in to comment.