From 6e426bf6a0b5f7ea1336a19c75e707975b777ece Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Mon, 23 Feb 2026 11:05:43 +0300 Subject: [PATCH] return a default credit and debt response when one doesn't have a voucher --- handlers/application/balance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers/application/balance.go b/handlers/application/balance.go index ba548fe..409d409 100644 --- a/handlers/application/balance.go +++ b/handlers/application/balance.go @@ -125,6 +125,7 @@ func (h *MenuHandlers) CalculateCreditAndDebt(ctx context.Context, sym string, i // Fetch session data _, activeBal, activeSym, activeAddress, publicKey, activeDecimal, err := h.getSessionData(ctx, sessionId) if err != nil { + res.Content = l.Get("Credit: %s KSH\nDebt: %s %s\n", "0", "0", string(activeSym)) return res, nil }