From 567b8708310786640caffb69847039e06dd5f37e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 8 Nov 2024 00:10:58 +0100 Subject: -re-add attributes --- src/exchange/taler-exchange-httpd_common_kyc.c | 1 + src/exchangedb/pg_lookup_active_legitimization.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c index 9bf5039b2..24775845b 100644 --- a/src/exchange/taler-exchange-httpd_common_kyc.c +++ b/src/exchange/taler-exchange-httpd_common_kyc.c @@ -523,6 +523,7 @@ TEH_kyc_run_measure_for_attributes ( kat->cb_cls = cb_cls; kat->aml_history = json_array (); kat->kyc_history = json_array (); + kat->attributes = json_incref ((json_t*) new_attributes); qs = TEH_plugin->lookup_active_legitimization ( TEH_plugin->cls, diff --git a/src/exchangedb/pg_lookup_active_legitimization.c b/src/exchangedb/pg_lookup_active_legitimization.c index 819bbf636..9b294420b 100644 --- a/src/exchangedb/pg_lookup_active_legitimization.c +++ b/src/exchangedb/pg_lookup_active_legitimization.c @@ -47,7 +47,7 @@ TEH_PG_lookup_active_legitimization ( "measure_index", measure_index), GNUNET_PQ_result_spec_string ( - "provider_section", + "provider_name", provider_name), GNUNET_PQ_result_spec_end }; @@ -57,7 +57,7 @@ TEH_PG_lookup_active_legitimization ( "SELECT " " lm.jmeasures" ",lp.measure_index" - ",lp.provider_section" + ",lp.provider_name" " FROM legitimization_processes lp" " JOIN legitimization_measures lm" " USING (legitimization_measure_serial_id)" -- cgit v1.2.3