From 8e931c6972186b26ddc13294a8ab8a8524e85030 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Tue, 6 May 2025 21:16:40 +0300 Subject: [PATCH] remove unnecessary input navigation check --- handlers/application/menuhandler.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/handlers/application/menuhandler.go b/handlers/application/menuhandler.go index 7178188..c0c16a4 100644 --- a/handlers/application/menuhandler.go +++ b/handlers/application/menuhandler.go @@ -2176,10 +2176,6 @@ func (h *MenuHandlers) ViewVoucher(ctx context.Context, sym string, input []byte flag_incorrect_voucher, _ := h.flagManager.GetFlag("flag_incorrect_voucher") inputStr := string(input) - if inputStr == "0" || inputStr == "99" { - res.FlagReset = append(res.FlagReset, flag_incorrect_voucher) - return res, nil - } metadata, err := store.GetVoucherData(ctx, h.userdataStore, sessionId, inputStr) if err != nil {