Skip to content

Commit 5f335a9

Browse files
steven-supersolidflovilmart
authored andcommitted
Fix parameter name (#3001)
1 parent fb6150f commit 5f335a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controllers/SchemaCache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import defaults from '../defaults';
88
export default class SchemaCache {
99
cache: Object;
1010

11-
constructor(cacheController, ttl = defaults.schemaCacheTTL, randomizePrefix = false) {
11+
constructor(cacheController, ttl = defaults.schemaCacheTTL, singleCache = false) {
1212
this.ttl = ttl;
1313
if (typeof ttl == 'string') {
1414
this.ttl = parseInt(ttl);
1515
}
1616
this.cache = cacheController;
1717
this.prefix = SCHEMA_CACHE_PREFIX;
18-
if (!randomizePrefix) {
18+
if (!singleCache) {
1919
this.prefix += randomString(20);
2020
}
2121
}

0 commit comments

Comments
 (0)