Commit Graph

179 Commits

Author SHA1 Message Date
Carlosokumu
383f074cae update method signatures 2024-10-24 17:32:08 +03:00
Carlosokumu
d678a639b8 Merge branch 'master' into api-context 2024-10-24 17:07:11 +03:00
Carlosokumu
2b34a0900c check for status code and unmarshal on errResponse 2024-10-24 16:35:53 +03:00
Carlosokumu
57a49819f4 Merge branch 'master' into api-structs 2024-10-24 16:22:41 +03:00
Carlosokumu
abc01b7cee change to local setup endpoint 2024-10-24 16:21:34 +03:00
alfred-mk
ec4e44a27c Merge branch 'master' into send-menu-update 2024-10-24 15:58:59 +03:00
alfred-mk
39c0560abe Updated the test 2024-10-24 15:21:48 +03:00
alfred-mk
75459f852b Return the full balance string 2024-10-24 15:12:57 +03:00
alfred-mk
6200728435 Updated the menuhander test 2024-10-24 14:45:15 +03:00
alfred-mk
579b46db65 Replace the public key with the sessionId 2024-10-24 14:34:12 +03:00
Carlosokumu
9f2d57ea03 update tests 2024-10-24 10:10:14 +03:00
Carlosokumu
08e709f1b3 check for error responses 2024-10-24 10:02:15 +03:00
Carlosokumu
9bc9d04a49 use errresponse and okresponse for deserialization 2024-10-24 10:00:38 +03:00
Carlosokumu
b41e52af63 pass context.Context 2024-10-23 12:45:54 +03:00
Carlosokumu
9c75942b0b chore: remove commented code 2024-10-21 16:54:16 +03:00
Carlosokumu
d81bc0eefb use importable api structs 2024-10-21 11:10:01 +03:00
Carlosokumu
5b0a383513 use importable api structs 2024-10-21 11:09:37 +03:00
Carlosokumu
367d3f0593 remove manually added api.go file 2024-10-21 11:07:32 +03:00
Carlosokumu
f643aa4d14 update tests 2024-10-18 17:37:04 +03:00
Carlosokumu
b8860478b6 implement expected structs 2024-10-18 17:36:51 +03:00
Carlosokumu
847b91ca9e Merge branch 'menu-api-errors' into api-structs 2024-10-18 17:15:05 +03:00
Carlosokumu
128a354b34 use api structs 2024-10-18 17:03:48 +03:00
Carlosokumu
81c4189c8e update tests 2024-10-18 17:02:08 +03:00
Carlosokumu
4f04362835 pass error description to error response 2024-10-17 16:08:18 +03:00
Carlosokumu
d181c34946 update handler and move transaction struct to models 2024-10-17 12:49:28 +03:00
Carlosokumu
bfa6eac4c2 define a test account service 2024-10-17 12:47:44 +03:00
Carlosokumu
667a21d950 pass account service as a param 2024-10-17 12:37:15 +03:00
Carlosokumu
a51f739d06 pass account service as a param 2024-10-17 12:31:33 +03:00
Carlosokumu
f73b7a8b04 setup api responses 2024-10-16 22:40:40 +03:00
Carlosokumu
6a36bc43b5 add check for api call failure 2024-10-15 16:31:15 +03:00
Carlosokumu
1d27a88908 add test on validate amount 2024-10-15 16:30:29 +03:00
Carlosokumu
bec7e5c69f update: fetch balances in a sepate function,show profile information in swahili and english 2024-10-15 13:57:05 +03:00
Carlosokumu
d638aba85e update tests 2024-10-15 13:50:28 +03:00
Carlosokumu
df7788dd0b return actual reponses on the api calls 2024-10-15 13:48:14 +03:00
Carlosokumu
4a62773098 add handler fetching custodial balances 2024-10-15 13:44:50 +03:00
Carlosokumu
a3ff3be5b1 clean up 2024-09-27 16:32:47 +03:00
Carlosokumu
ea52a7cf0a update tests 2024-09-26 23:11:37 +03:00
Carlosokumu
a993026380 update tests 2024-09-26 23:07:48 +03:00
Carlosokumu
0dea34daab resolve confilict 2024-09-24 09:18:21 +03:00
Carlosokumu
8057313c78 Merge remote-tracking branch 'remotes/origin/master' into menu-profile-edit 2024-09-24 09:10:17 +03:00
Carlosokumu
bbfe46f162 use current rendering symbol for case selection 2024-09-24 09:01:19 +03:00
Carlosokumu
5c85ecffd1 remove unused code 2024-09-24 09:00:13 +03:00
lash
6112ca175f Merge branch 'master' into lash/thread-gdbm 2024-09-23 18:54:18 +01:00
Carlosokumu
4a447fbb45 update profile update 2024-09-23 20:10:37 +03:00
lash
c02d70eaa4 Upgrade dep, improve logging 2024-09-23 17:35:17 +01:00
lash
8dcba67fe9 WIP can execute single session, but persister fails in next 2024-09-21 18:49:11 +01:00
alfred-mk
63c7c65a00 rename all WriteResult to Flush 2024-09-20 22:15:24 +03:00
alfred-mk
a1056cf287 removed unused code 2024-09-20 13:54:23 +03:00
alfred-mk
e6e701a609 remove init and use Exec 2024-09-20 13:13:20 +03:00
5c5f4cbc8e Merge branch 'master' into wip-main-refactor 2024-09-19 20:19:06 +02:00