From cbe5b211d8829bb486e8ea010e6d13bcc7c4657f Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Thu, 22 Jan 2026 17:42:52 +0300 Subject: [PATCH] added the local functions to the menu handler --- handlers/local.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handlers/local.go b/handlers/local.go index a34be02..b3204a1 100644 --- a/handlers/local.go +++ b/handlers/local.go @@ -146,6 +146,9 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountService) ls.DbRs.AddLocalFunc("send_mpesa_min_limit", appHandlers.SendMpesaMinLimit) ls.DbRs.AddLocalFunc("send_mpesa_preview", appHandlers.SendMpesaPreview) ls.DbRs.AddLocalFunc("initiate_send_mpesa", appHandlers.InitiateSendMpesa) + ls.DbRs.AddLocalFunc("calculate_pay_debt", appHandlers.CalculatePayDebt) + ls.DbRs.AddLocalFunc("confirm_debt_removal", appHandlers.ConfirmDebtRemoval) + ls.DbRs.AddLocalFunc("initiate_pay_debt", appHandlers.InitiatePayDebt) ls.first = appHandlers.Init