diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-16 19:31:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-16 19:31:27 +0100 |
commit | 422b0ffd4cefb4717bbc9fbb7be442aff3a13c76 (patch) | |
tree | fda0758d099867ecf0b6da7b809071b2ed9d8400 | |
parent | add9edbf5cfa419a7f999cf8a54109b35cea18e6 (diff) |
fix oauth_username issue
-rw-r--r-- | src/exchangedb/exchange-0001.sql | 2 | ||||
-rw-r--r-- | src/exchangedb/irbt_callbacks.c | 2 | ||||
-rw-r--r-- | src/exchangedb/lrbt_callbacks.c | 4 | ||||
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/exchange-0001.sql b/src/exchangedb/exchange-0001.sql index 73a371f3b..0426dc50a 100644 --- a/src/exchangedb/exchange-0001.sql +++ b/src/exchangedb/exchange-0001.sql @@ -82,7 +82,7 @@ COMMENT ON COLUMN wire_targets.h_payto IS 'Unsalted hash of payto_uri'; COMMENT ON COLUMN wire_targets.kyc_ok IS 'true if the KYC check was passed successfully'; -COMMENT ON COLUMN wire_targets.oauth_username +COMMENT ON COLUMN wire_targets.external_id IS 'Name of the user that was used for OAuth 2.0-based legitimization'; diff --git a/src/exchangedb/irbt_callbacks.c b/src/exchangedb/irbt_callbacks.c index 8e2375438..4b1269606 100644 --- a/src/exchangedb/irbt_callbacks.c +++ b/src/exchangedb/irbt_callbacks.c @@ -117,7 +117,7 @@ irbt_cb_table_wire_targets (struct PostgresClosure *pg, GNUNET_PQ_query_param_auto_from_type ( &td->details.wire_targets.kyc_ok), GNUNET_PQ_query_param_string ( - td->details.wire_targets.oauth_username), + td->details.wire_targets.external_id), GNUNET_PQ_query_param_end }; diff --git a/src/exchangedb/lrbt_callbacks.c b/src/exchangedb/lrbt_callbacks.c index 60ca4b8b6..5a26a5d6b 100644 --- a/src/exchangedb/lrbt_callbacks.c +++ b/src/exchangedb/lrbt_callbacks.c @@ -182,8 +182,8 @@ lrbt_cb_table_wire_targets (void *cls, &td.details.wire_targets.payto_uri), GNUNET_PQ_result_spec_auto_from_type ("kyc_ok", &td.details.wire_targets.kyc_ok), - GNUNET_PQ_result_spec_string ("oauth_username", - &td.details.wire_targets.oauth_username), + GNUNET_PQ_result_spec_string ("external_id", + &td.details.wire_targets.external_id), GNUNET_PQ_result_spec_end }; diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index bf8a099f7..7b3c3baf2 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -218,7 +218,7 @@ struct TALER_EXCHANGEDB_TableData { char *payto_uri; bool kyc_ok; - char *oauth_username; + char *external_id; } wire_targets; struct |