Skip to content

Commit

Permalink
chore: lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Jul 5, 2024
1 parent 8e9d8de commit 5de2ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions balancer-js/src/modules/data/pool/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ export class PoolsSubgraphRepository
* @returns
*/
async find(id: string, refresh = false): Promise<Pool | undefined> {
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);
Expand Down
2 changes: 1 addition & 1 deletion balancer-js/src/modules/pools/apr/apr.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 5de2ba8

Please sign in to comment.