From 8efed966a053fa8b1cd32af9806f550653b1ae12 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 4 Dec 2024 09:08:47 +0300 Subject: [PATCH] set flag when location is set --- internal/handlers/ussd/menuhandler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/handlers/ussd/menuhandler.go b/internal/handlers/ussd/menuhandler.go index 8fc6175..19f9f97 100644 --- a/internal/handlers/ussd/menuhandler.go +++ b/internal/handlers/ussd/menuhandler.go @@ -543,6 +543,7 @@ func (h *Handlers) SaveLocation(ctx context.Context, sym string, input []byte) ( logg.ErrorCtxf(ctx, "failed to write location entry with", "key", common.DATA_LOCATION, "value", temporaryLocation, "error", err) return res, err } + res.FlagSet = append(res.FlagSet, flag_location_set) } else { if locationSet { err = store.WriteEntry(ctx, sessionId, common.DATA_TEMPORARY_VALUE, []byte(location))