From 1123265ef833ce34c11aa8c3632ee97f604ce9df Mon Sep 17 00:00:00 2001 From: canonbrother Date: Thu, 3 Oct 2024 13:29:59 +0800 Subject: [PATCH] cater rust undefined -> none #2 poolpair --- .../__defid__/poolpair.controller.defid.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/whale-api/src/module.api/__defid__/poolpair.controller.defid.ts b/apps/whale-api/src/module.api/__defid__/poolpair.controller.defid.ts index 39fe482a9..9fe08e9d7 100644 --- a/apps/whale-api/src/module.api/__defid__/poolpair.controller.defid.ts +++ b/apps/whale-api/src/module.api/__defid__/poolpair.controller.defid.ts @@ -250,7 +250,7 @@ describe('list', () => { }, rewardPct: '1', rewardLoanPct: '0', - customRewards: undefined, + // customRewards: undefined, creation: { tx: expect.any(String), height: expect.any(Number) @@ -311,8 +311,8 @@ describe('get', () => { symbol: 'A', reserve: '100', blockCommission: '0', - displaySymbol: 'dA', - fee: undefined + displaySymbol: 'dA' + // fee: undefined }, tokenB: { id: '0', @@ -320,8 +320,8 @@ describe('get', () => { symbol: 'DFI', reserve: '200', blockCommission: '0', - displaySymbol: 'DFI', - fee: undefined + displaySymbol: 'DFI' + // fee: undefined }, apr: { reward: 0, @@ -342,7 +342,7 @@ describe('get', () => { }, rewardPct: '0', rewardLoanPct: '0', - customRewards: undefined, + // customRewards: undefined, creation: { tx: expect.any(String), height: expect.any(Number)