gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 124/130: fix oauth_username issue


From: gnunet
Subject: [taler-exchange] 124/130: fix oauth_username issue
Date: Wed, 17 Nov 2021 12:26:12 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 422b0ffd4cefb4717bbc9fbb7be442aff3a13c76
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Nov 16 19:31:27 2021 +0100

    fix oauth_username issue
---
 src/exchangedb/exchange-0001.sql      | 2 +-
 src/exchangedb/irbt_callbacks.c       | 2 +-
 src/exchangedb/lrbt_callbacks.c       | 4 ++--
 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 73a371f3..0426dc50 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 8e237543..4b126960 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 60ca4b8b..5a26a5d6 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 bf8a099f..7b3c3baf 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]