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;