From 9ef27fda14e7c8c262bccbc4c48f08147269bf76 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Tue, 3 Feb 2026 13:36:14 +0300 Subject: [PATCH] reset the api_call_error flag --- handlers/application/balance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/application/balance.go b/handlers/application/balance.go index 5a6c1b2..6702cf8 100644 --- a/handlers/application/balance.go +++ b/handlers/application/balance.go @@ -149,6 +149,8 @@ func (h *MenuHandlers) CalculateCreditAndDebt(ctx context.Context, sym string, i flag_api_call_error, _ := h.flagManager.GetFlag("flag_api_call_error") + res.FlagReset = append(res.FlagReset, flag_api_call_error) + // Fetch session data _, _, activeSym, _, publicKey, _, err := h.getSessionData(ctx, sessionId) if err != nil {