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; },