From 57578da27c94fac0e9e6f7752b2b862561547e23 Mon Sep 17 00:00:00 2001 From: victor-develop Date: Tue, 30 Apr 2019 12:09:30 +0800 Subject: [PATCH] :bug: Fix wrong jsdoc --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 037e268..e2415b5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,7 +4,7 @@ const path = require('path'); class Limiter { /** * - * @param {Object} redis_client - redis connection client instance, ioredis only + * @param {Object} redisClient - redis connection client instance, ioredis only * @param {string} key - key of the limiter * @param {number} limit - rate limit within duration * @param {number} duration - within this period (second), number of 'limit' tokens can be used