From 4a447fbb45d1cb7704cb40ade625fa741febbbed Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 23 Sep 2024 20:10:37 +0300 Subject: [PATCH] update profile update --- internal/handlers/ussd/menuhandler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/handlers/ussd/menuhandler.go b/internal/handlers/ussd/menuhandler.go index 805dcff..ff8d8bd 100644 --- a/internal/handlers/ussd/menuhandler.go +++ b/internal/handlers/ussd/menuhandler.go @@ -356,7 +356,6 @@ func (h *Handlers) SaveFirstname(ctx context.Context, sym string, input []byte) if !ok { return res, fmt.Errorf("missing session") } - if len(input) > 0 { firstName := string(input) store := h.userdataStore @@ -640,7 +639,6 @@ func (h *Handlers) QuitWithHelp(ctx context.Context, sym string, input []byte) ( return res, nil } - // VerifyYob verifies the length of the given input func (h *Handlers) VerifyYob(ctx context.Context, sym string, input []byte) (resource.Result, error) { var res resource.Result