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