From eb33eadf105eb85059f71b83750c77beb4d3bf0f Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Mon, 3 Jun 2024 10:51:42 +0200 Subject: [PATCH] fix: pool id --- src/mappings/services/trancheService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mappings/services/trancheService.ts b/src/mappings/services/trancheService.ts index ebbf70ba..589fec00 100644 --- a/src/mappings/services/trancheService.ts +++ b/src/mappings/services/trancheService.ts @@ -83,7 +83,7 @@ export class TrancheService extends Tranche { // fix token price not accounting for fees logger.info(`Starting price update ${this.id} to: ${this.tokenPrice} (WITHOUT ACCRUED FEES FIX)`) const apiCall = api.call as ExtendedCall - const navResponse = await apiCall.poolsApi.nav(this.id) + const navResponse = await apiCall.poolsApi.nav(this.poolId) if (navResponse.isEmpty) { logger.info(`Empty response: ${price}`) this.tokenPrice = price