Skip to content

Commit

Permalink
(BIDS-2663) Add sorting to postgres query using pagination (#2685)
Browse files Browse the repository at this point in the history
  • Loading branch information
D13ce authored Nov 14, 2023
1 parent 9142043 commit 62e11a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3784,6 +3784,7 @@ func ApiWithdrawalCredentialsValidators(w http.ResponseWriter, r *http.Request)
pubkey
FROM validators
WHERE withdrawalcredentials = $1
ORDER BY validatorindex ASC
LIMIT $2
OFFSET $3
`, credentials, limit, offset)
Expand Down

0 comments on commit 62e11a3

Please sign in to comment.