Skip to content

Commit

Permalink
use nav property instead of priceLocal
Browse files Browse the repository at this point in the history
  • Loading branch information
yehia67 committed Jan 17, 2025
1 parent 627876b commit 618ed71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/libre-capital/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function getFundPrices() {
const { data: navData } = await fetchURL(NAV_API_URL);
const priceMap = {};
navData.forEach(fund => {
priceMap[fund.fundName] = fund.priceLocal;
priceMap[fund.fundName] = fund.nav;
});
return priceMap;
}
Expand Down

0 comments on commit 618ed71

Please sign in to comment.