From 87c6029199c990d21e03fc2d67e16d80042099d0 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 7 Oct 2024 20:33:02 +0300 Subject: [PATCH] Revert "add dummy vouchers list" This reverts commit 188cb573dd713278b417d8fab9ea1bdc0ec6f9cb. --- internal/handlers/handlerservice.go | 1 - services/registration/select_voucher | 2 -- services/registration/select_voucher.vis | 11 ----------- 3 files changed, 14 deletions(-) delete mode 100644 services/registration/select_voucher delete mode 100644 services/registration/select_voucher.vis diff --git a/internal/handlers/handlerservice.go b/internal/handlers/handlerservice.go index 50d2c78..2faabbf 100644 --- a/internal/handlers/handlerservice.go +++ b/internal/handlers/handlerservice.go @@ -94,7 +94,6 @@ func (ls *LocalHandlerService) GetHandler(accountService server.AccountServiceIn ls.DbRs.AddLocalFunc("verify_new_pin", ussdHandlers.VerifyNewPin) ls.DbRs.AddLocalFunc("confirm_pin_change", ussdHandlers.ConfirmPinChange) ls.DbRs.AddLocalFunc("quit_with_help", ussdHandlers.QuitWithHelp) - ls.DbRs.AddLocalFunc("get_vouchers", ussdHandlers.GetVoucherList) return ussdHandlers, nil } diff --git a/services/registration/select_voucher b/services/registration/select_voucher deleted file mode 100644 index 084b9b8..0000000 --- a/services/registration/select_voucher +++ /dev/null @@ -1,2 +0,0 @@ -Select number or symbol from your vouchers: -{{.get_vouchers}} \ No newline at end of file diff --git a/services/registration/select_voucher.vis b/services/registration/select_voucher.vis deleted file mode 100644 index 4fb1d40..0000000 --- a/services/registration/select_voucher.vis +++ /dev/null @@ -1,11 +0,0 @@ -LOAD get_vouchers 0 -MAP get_vouchers -MOUT back 0 -MOUT quit 9 -MNEXT next 11 -MPREV prev 22 -HALT -INCMP _ 0 -INCMP quit 9 -INCMP > 11 -INCMP < 22