From 64c222b1726ec3d6cfdbd77e7b352ce2bb2ff577 Mon Sep 17 00:00:00 2001 From: Manohar Date: Fri, 15 May 2026 04:18:41 +0000 Subject: [PATCH] fix: empty string unit literal stripped by heredoc --- src/angel/market.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angel/market.ts b/src/angel/market.ts index b688a86..8c924da 100644 --- a/src/angel/market.ts +++ b/src/angel/market.ts @@ -78,7 +78,7 @@ async function fetchFromAngel(): Promise { return fetched.map((q: any) => { const key = symToKey[q.tradingSymbol] ?? q.tradingSymbol; - const meta = LABELS[key] ?? { label: q.tradingSymbol, unit: }; + const meta = LABELS[key] ?? { label: q.tradingSymbol, unit: '' }; const ltp = parseFloat(q.ltp) || 0; const close = parseFloat(q.close) || 0; const change = parseFloat(q.netChange) || (ltp - close);