diff --git a/bots/src/service/executor/ClaimTxService.ts b/bots/src/service/executor/ClaimTxService.ts index 890c2877..43ff2754 100644 --- a/bots/src/service/executor/ClaimTxService.ts +++ b/bots/src/service/executor/ClaimTxService.ts @@ -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