fix oauth_username issue
This commit is contained in:
parent
add9edbf5c
commit
422b0ffd4c
@ -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';
|
||||
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -218,7 +218,7 @@ struct TALER_EXCHANGEDB_TableData
|
||||
{
|
||||
char *payto_uri;
|
||||
bool kyc_ok;
|
||||
char *oauth_username;
|
||||
char *external_id;
|
||||
} wire_targets;
|
||||
|
||||
struct
|
||||
|
Loading…
Reference in New Issue
Block a user