From 417b5b1f12379bfc306db141b38d7a3c5077c2aa Mon Sep 17 00:00:00 2001 From: JSHan94 Date: Thu, 18 Jan 2024 18:43:50 +0900 Subject: [PATCH] fix descending condition --- bots/src/service/executor/ClaimTxService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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