diff --git a/index.js b/index.js index 9582474..18a2893 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ function initializeCache (opts) { Cache = require('./cache') } - opts.cacheManager = new Cache(opts.cacheManager) + opts.cacheManager = new Cache(opts.cacheManager, opts) } opts.cache = opts.cache || 'default'