From 5de2ba82a6904e17174945ca4c79ee6395d1f735 Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Fri, 5 Jul 2024 11:39:50 +0100 Subject: [PATCH] chore: lint! --- balancer-js/src/modules/data/pool/subgraph.ts | 3 +-- balancer-js/src/modules/pools/apr/apr.integration.spec.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/balancer-js/src/modules/data/pool/subgraph.ts b/balancer-js/src/modules/data/pool/subgraph.ts index 87fe30938..6644501c9 100644 --- a/balancer-js/src/modules/data/pool/subgraph.ts +++ b/balancer-js/src/modules/data/pool/subgraph.ts @@ -129,8 +129,7 @@ export class PoolsSubgraphRepository * @returns */ async find(id: string, refresh = false): Promise { - if(this.isCustomQuery) - return await this.findBy('id', id); + if (this.isCustomQuery) return await this.findBy('id', id); // If we're not refreshing and the pool exists in caches then return if (!refresh && this.pools) { const cachedPool = (await this.pools).find((pool) => pool.id === id); diff --git a/balancer-js/src/modules/pools/apr/apr.integration.spec.ts b/balancer-js/src/modules/pools/apr/apr.integration.spec.ts index 0cde300ce..f88d4759d 100644 --- a/balancer-js/src/modules/pools/apr/apr.integration.spec.ts +++ b/balancer-js/src/modules/pools/apr/apr.integration.spec.ts @@ -23,7 +23,7 @@ const usdStable = const auraBALveBAL = '0x3dd0843a028c86e0b760b1a76929d1c5ef93a2dd000200000000000000000249'; -// APRs are offered via API now +// APRs are offered via API now describe.skip('APR tests', () => { describe('pool with yield tokens', () => { it('has tokenAprs', async () => {