Skip to content

Commit

Permalink
fix and new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owl352 committed Jan 23, 2025
1 parent 0137eb4 commit b0fa762
Show file tree
Hide file tree
Showing 2 changed files with 428 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/controllers/MasternodeVotesController.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MasternodeVotesController {
return response.status(404).send({ message: 'not found' })
}

return response.send(new PaginatedResultSet([vote], 1, 1, 1))
return response.send(new PaginatedResultSet([vote], 1, 10, 1))
} else if (/^[0-9A-z]{43,44}$/.test(query)) {
// by identity
const votes = await this.masternodeVotesDAO.getMasternodeVotesByIdentity(query, Number(page ?? 1), Number(limit ?? 10), order)
Expand Down
Loading

0 comments on commit b0fa762

Please sign in to comment.