[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 77/151: finish kyc_start API
From: |
gnunet |
Subject: |
[taler-exchange] 77/151: finish kyc_start API |
Date: |
Tue, 30 Jul 2024 23:37:27 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 92f069d89d5421da00412a62920471bf26ef777a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jul 7 12:02:43 2024 +0200
finish kyc_start API
---
src/lib/exchange_api_kyc_start.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/lib/exchange_api_kyc_start.c b/src/lib/exchange_api_kyc_start.c
index 753916ae6..873edcfa6 100644
--- a/src/lib/exchange_api_kyc_start.c
+++ b/src/lib/exchange_api_kyc_start.c
@@ -93,7 +93,25 @@ handle_kyc_start_finished (void *cls,
adr.hr.hint = "server offline?";
break;
case MHD_HTTP_OK:
- // FIXME!
+ {
+ struct GNUNET_JSON_Specification spec[] = {
+ GNUNET_JSON_spec_string (
+ "redirect_url",
+ &adr.details.ok.redirect_url),
+ GNUNET_JSON_spec_end ()
+ };
+
+ if (GNUNET_OK !=
+ GNUNET_JSON_parse (json,
+ spec,
+ NULL, NULL))
+ {
+ GNUNET_break_op (0);
+ adr.hr.http_status = 0;
+ adr.hr.ec = TALER_EC_GENERIC_REPLY_MALFORMED;
+ break;
+ }
+ }
break;
case MHD_HTTP_NOT_FOUND:
break;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 51/151: fix DB init for v5, (continued)
- [taler-exchange] 51/151: fix DB init for v5, gnunet, 2024/07/30
- [taler-exchange] 93/151: return KYCAUTH transfers from fakebank account history API, gnunet, 2024/07/30
- [taler-exchange] 70/151: more work on KYC upload, gnunet, 2024/07/30
- [taler-exchange] 65/151: finish AML measures, gnunet, 2024/07/30
- [taler-exchange] 91/151: implement kycauth_in_insert, gnunet, 2024/07/30
- [taler-exchange] 97/151: fix leak, expand logging, gnunet, 2024/07/30
- [taler-exchange] 107/151: -fix small bugs, gnunet, 2024/07/30
- [taler-exchange] 39/151: work on KycRule parsing, gnunet, 2024/07/30
- [taler-exchange] 33/151: implement kyc_test_required, gnunet, 2024/07/30
- [taler-exchange] 64/151: get AML measures skeleton", gnunet, 2024/07/30
- [taler-exchange] 77/151: finish kyc_start API,
gnunet <=
- [taler-exchange] 71/151: -work on upload, gnunet, 2024/07/30
- [taler-exchange] 108/151: do not pass timeout in test, gnunet, 2024/07/30
- [taler-exchange] 82/151: enable kyc-start endpoint, gnunet, 2024/07/30
- [taler-exchange] 62/151: implement select_aml_statistics, gnunet, 2024/07/30
- [taler-exchange] 43/151: implement pg_lookup_kyc_requirement_by_row, gnunet, 2024/07/30
- [taler-exchange] 67/151: -fix FTBFS, gnunet, 2024/07/30
- [taler-exchange] 68/151: add kyc-upload logic to demultiplexer, gnunet, 2024/07/30
- [taler-exchange] 57/151: handle POST aml /decision, gnunet, 2024/07/30
- [taler-exchange] 61/151: work on more GET handlers, gnunet, 2024/07/30
- [taler-exchange] 25/151: get reserves_purse to compile, gnunet, 2024/07/30