From 160964351daf20e5236cf40ad5bc0f02af20404d Mon Sep 17 00:00:00 2001 From: Olha Zakharova Date: Tue, 28 Mar 2023 17:18:39 -0400 Subject: [PATCH] fix: update return value type --- server/models/Wallets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/models/Wallets.ts b/server/models/Wallets.ts index f1a035d5..464fc583 100644 --- a/server/models/Wallets.ts +++ b/server/models/Wallets.ts @@ -22,7 +22,7 @@ function getByFilter( function getCount( WalletRepository: WalletsRepository, -): (filter: Filter) => Promise { +): (filter: Filter) => Promise { return async (filter: Filter) => { const count = await WalletRepository.getCount(filter); return count;