Be explicit while forwarding parametes

This commit is contained in:
Daniel García Aubert 2019-09-13 18:15:11 +02:00
parent 824d41ef0f
commit 788cd9d6fb

View File

@ -26,7 +26,7 @@ module.exports = class NamedMapProviderCache {
this.providerCache = new LruCache({ max: 2000, maxAge: TEN_MINUTES_IN_MILLISECONDS });
ACTIONS.forEach(action => templateMaps.on(action, (...args) => this.invalidate(...args)));
ACTIONS.forEach(action => templateMaps.on(action, (user, templateId) => this.invalidate(user, templateId)));
}
get (user, templateId, config, authToken, params, callback) {