diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-06-05 09:18:35 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-06-05 09:18:35 +0200 |
commit | 98b51edf496cdc14974690c9809f665f14858977 (patch) | |
tree | eb48f666852c8df8b940d001bc0b0ef644df4a55 /src/lib/exchange_api_kyc_check.c | |
parent | fb5bc18c588832747dfe299f9df1beb6645cf686 (diff) | |
parent | 8cc1edfe0aa77d3091f19aa87d06bb45c74b0128 (diff) |
Merge branch 'master' into age-withdraw
Diffstat (limited to 'src/lib/exchange_api_kyc_check.c')
-rw-r--r-- | src/lib/exchange_api_kyc_check.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/exchange_api_kyc_check.c b/src/lib/exchange_api_kyc_check.c index d1580e76..472a7d2d 100644 --- a/src/lib/exchange_api_kyc_check.c +++ b/src/lib/exchange_api_kyc_check.c @@ -96,7 +96,7 @@ handle_kyc_check_finished (void *cls, break; case MHD_HTTP_OK: { - json_t *kyc_details; + const json_t *kyc_details; uint32_t status; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_fixed_auto ("exchange_sig", @@ -105,8 +105,8 @@ handle_kyc_check_finished (void *cls, &ks.details.ok.exchange_pub), GNUNET_JSON_spec_timestamp ("now", &ks.details.ok.timestamp), - GNUNET_JSON_spec_json ("kyc_details", - &kyc_details), + GNUNET_JSON_spec_object_const ("kyc_details", + &kyc_details), GNUNET_JSON_spec_uint32 ("aml_status", &status), GNUNET_JSON_spec_end () |