reset the api_call_error flag

This commit is contained in:
Alfred Kamanda 2026-02-03 13:36:14 +03:00
parent 42f7b0f8a7
commit 9ef27fda14
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

@ -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 {