From 147cebccb8aae66df4aa8c30cb64561c74a1b40d Mon Sep 17 00:00:00 2001 From: stickykeys <8445610+v-stickykeys@users.noreply.github.com> Date: Wed, 17 Aug 2022 16:05:14 -0400 Subject: [PATCH] fix(core): check value of indexing env var (#2363) * fix(core): check value of indexing env var * fix(core): check value of indexing env var * fix(core): check value of indexing env var --- packages/core/src/initialization/make-index-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/initialization/make-index-api.ts b/packages/core/src/initialization/make-index-api.ts index 14f7f1c286..a2e25ce264 100644 --- a/packages/core/src/initialization/make-index-api.ts +++ b/packages/core/src/initialization/make-index-api.ts @@ -28,7 +28,7 @@ export function makeIndexApi( network: Networks, logger: DiagnosticsLogger ): DatabaseIndexApi | undefined { - if (!process.env.CERAMIC_ENABLE_EXPERIMENTAL_INDEXING) { + if (process.env.CERAMIC_ENABLE_EXPERIMENTAL_INDEXING != 'true') { return undefined } if (network == Networks.MAINNET || network == Networks.ELP) {