Skip to content

Commit

Permalink
fix descending condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Jan 18, 2024
1 parent 7d457c9 commit 417b5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/src/service/executor/ClaimTxService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function getClaimTxList(

try {
const offset = param.offset ?? 0
const order = param.descending ? 'DESC' : 'ASC'
const order = param.descending == 'true' ? 'DESC' : 'ASC'
const claimTxList: ClaimTx[] = []

const withdrawalQb = queryRunner.manager
Expand Down

0 comments on commit 417b5b1

Please sign in to comment.