express-limiter
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -52,4 +52,5 @@ module.exports = function (app, db) { | ||
if (typeof(opts.lookup) === 'function') { | ||
var callableLookup = opts.lookup; | ||
middleware = function (middleware, req, res, next) { | ||
return opts.lookup(req, res, opts, function () { | ||
return callableLookup(req, res, opts, function () { | ||
return middleware(req, res, next) | ||
@@ -56,0 +57,0 @@ }) |
{ | ||
"name": "express-limiter", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "rate limiter middleware for express applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14141
240