Compare commits
No commits in common. "fc0043e3f6a8b2945abd3899fce035ec233fd91e" and "59d044602031700f96097cad8dcebbd9ad18d77f" have entirely different histories.
fc0043e3f6
...
59d0446020
@ -94,7 +94,6 @@ func (ls *LocalHandlerService) GetHandler(accountService server.AccountServiceIn
|
|||||||
ls.DbRs.AddLocalFunc("confirm_pin_change", ussdHandlers.ConfirmPinChange)
|
ls.DbRs.AddLocalFunc("confirm_pin_change", ussdHandlers.ConfirmPinChange)
|
||||||
ls.DbRs.AddLocalFunc("quit_with_help", ussdHandlers.QuitWithHelp)
|
ls.DbRs.AddLocalFunc("quit_with_help", ussdHandlers.QuitWithHelp)
|
||||||
ls.DbRs.AddLocalFunc("fetch_custodial_balances", ussdHandlers.FetchCustodialBalances)
|
ls.DbRs.AddLocalFunc("fetch_custodial_balances", ussdHandlers.FetchCustodialBalances)
|
||||||
ls.DbRs.AddLocalFunc("get_transactions", ussdHandlers.GetTransactions)
|
|
||||||
|
|
||||||
return ussdHandlers, nil
|
return ussdHandlers, nil
|
||||||
}
|
}
|
||||||
|
@ -1045,12 +1045,3 @@ func (h *Handlers) GetProfileInfo(ctx context.Context, sym string, input []byte)
|
|||||||
|
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTransactions retrieves the transactions from the API using the "PublicKey"
|
|
||||||
func (h *Handlers) GetTransactions(ctx context.Context, sym string, input []byte) (resource.Result, error) {
|
|
||||||
var res resource.Result
|
|
||||||
|
|
||||||
res.Content = "Transaction list"
|
|
||||||
|
|
||||||
return res, nil
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
Please enter your PIN to view statement:
|
|
@ -1,9 +0,0 @@
|
|||||||
LOAD authorize_account 6
|
|
||||||
MOUT back 0
|
|
||||||
MOUT quit 9
|
|
||||||
HALT
|
|
||||||
RELOAD authorize_account
|
|
||||||
CATCH incorrect_pin flag_incorrect_pin 1
|
|
||||||
INCMP _ 0
|
|
||||||
INCMP quit 9
|
|
||||||
INCMP transactions *
|
|
@ -1 +0,0 @@
|
|||||||
Tafadhali weka PIN yako kuona taarifa ya matumizi:
|
|
@ -11,6 +11,5 @@ INCMP main 0
|
|||||||
INCMP edit_profile 1
|
INCMP edit_profile 1
|
||||||
INCMP change_language 2
|
INCMP change_language 2
|
||||||
INCMP balances 3
|
INCMP balances 3
|
||||||
INCMP check_statement 4
|
|
||||||
INCMP pin_management 5
|
INCMP pin_management 5
|
||||||
INCMP address 6
|
INCMP address 6
|
||||||
|
@ -1 +0,0 @@
|
|||||||
{{.get_transactions}}
|
|
@ -1,11 +0,0 @@
|
|||||||
LOAD get_transactions 0
|
|
||||||
MAP get_transactions
|
|
||||||
MOUT back 0
|
|
||||||
MOUT quit 99
|
|
||||||
MNEXT next 11
|
|
||||||
MPREV prev 22
|
|
||||||
HALT
|
|
||||||
INCMP _ 0
|
|
||||||
INCMP quit 99
|
|
||||||
INCMP > 11
|
|
||||||
INCMP < 22
|
|
@ -1 +0,0 @@
|
|||||||
{{.get_transactions}}
|
|
Loading…
Reference in New Issue
Block a user