Be explicit while forwarding parametes
This commit is contained in:
parent
824d41ef0f
commit
788cd9d6fb
@ -26,7 +26,7 @@ module.exports = class NamedMapProviderCache {
|
|||||||
|
|
||||||
this.providerCache = new LruCache({ max: 2000, maxAge: TEN_MINUTES_IN_MILLISECONDS });
|
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) {
|
get (user, templateId, config, authToken, params, callback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user