Browse Source

chore(core): Fix bad refactor

Michael Bromley 4 years ago
parent
commit
0ad4e6ac1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/core/src/config/promotion/utils/facet-value-checker.ts

+ 1 - 1
packages/core/src/config/promotion/utils/facet-value-checker.ts

@@ -46,7 +46,7 @@ import { TransactionalConnection } from '../../../service/transaction/transactio
  * @docsCategory Promotions
  */
 export class FacetValueChecker {
-    private variantCache = new TtlCache<ID, ProductVariant>({ ttlMs: 5000 });
+    private variantCache = new TtlCache<ID, ProductVariant>({ ttl: 5000 });
 
     constructor(private connection: TransactionalConnection) {}
     /**