Skip to content

Commit d97a15f

Browse files
committed
fix localCache assertion
1 parent c241849 commit d97a15f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ class Config extends EventEmitter {
18411841
if (config.rateLimiting?.enabled) {
18421842
// rate limiting uses the same localCache config defined for S3 to avoid
18431843
// config duplication.
1844-
assert(config.localCache, 'missing required property of rateLimit ' +
1844+
assert(this.localCache, 'missing required property of rateLimit ' +
18451845
'configuration: localCache');
18461846

18471847
this.rateLimiting.enabled = true;

0 commit comments

Comments
 (0)