Skip to content

Commit

Permalink
fix: update return value type
Browse files Browse the repository at this point in the history
  • Loading branch information
OlhaD committed Mar 28, 2023
1 parent 3ebb34a commit 1609643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/Wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getByFilter(

function getCount(
WalletRepository: WalletsRepository,
): (filter: Filter) => Promise<Wallets[]> {
): (filter: Filter) => Promise<number> {
return async (filter: Filter) => {
const count = await WalletRepository.getCount(filter);
return count;
Expand Down

0 comments on commit 1609643

Please sign in to comment.