From 60e001389843448ea4d114319be96bd8aa5ca2f4 Mon Sep 17 00:00:00 2001 From: Mikael Araya Date: Sat, 28 Dec 2024 21:34:01 +0300 Subject: [PATCH] Adjust counter --- .../core-warehousing/src/module/configureWarehousingModule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-warehousing/src/module/configureWarehousingModule.ts b/packages/core-warehousing/src/module/configureWarehousingModule.ts index 6a6a29db0..d2c1140bd 100644 --- a/packages/core-warehousing/src/module/configureWarehousingModule.ts +++ b/packages/core-warehousing/src/module/configureWarehousingModule.ts @@ -60,7 +60,7 @@ export const configureWarehousingModule = async ({ db }: ModuleInput => { - const tokenCount = await TokenSurrogates.countDocuments(); + const tokenCount = await TokenSurrogates.countDocuments({}); return tokenCount; },