diff options
author | Florian Dold <florian@dold.me> | 2024-11-08 00:10:58 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-11-08 00:10:58 +0100 |
commit | 567b8708310786640caffb69847039e06dd5f37e (patch) | |
tree | 993b0dfb06b0d249f3180d42f40ab90546784603 | |
parent | 02485889686a4bc36fda70f46e8ac23159b223fd (diff) |
-re-add attributes
-rw-r--r-- | src/exchange/taler-exchange-httpd_common_kyc.c | 1 | ||||
-rw-r--r-- | 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)" |