[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix field names
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix field names |
Date: |
Sun, 12 Nov 2023 15:39:20 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 70ad9bcf fix field names
70ad9bcf is described below
commit 70ad9bcf8ef180157ffb4788a562973eb41e5e7a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 12 15:39:17 2023 +0100
fix field names
---
src/kyclogic/taler-exchange-kyc-kycaid-converter.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/kyclogic/taler-exchange-kyc-kycaid-converter.sh
b/src/kyclogic/taler-exchange-kyc-kycaid-converter.sh
index 175a1613..f77ad9bf 100755
--- a/src/kyclogic/taler-exchange-kyc-kycaid-converter.sh
+++ b/src/kyclogic/taler-exchange-kyc-kycaid-converter.sh
@@ -29,7 +29,7 @@ J=$(jq
'{"type":.type,"email":.email,"phone":.phone,"first_name":.first_name,"na
# TODO:
# log_failure (json_object_get (j, "decline_reasons"));
-TYPE=$(echo "$J" | jq -r '.person')
+TYPE=$(echo "$J" | jq -r '.type')
N=0
DOCS_RAW=""
@@ -39,7 +39,7 @@ do
TYPE=$(jq -r ".documents[]|select(.id==\"$ID\")|.type")
EXPIRY=$(jq -r ".documents[]|select(.id==\"$ID\")|.expiry_date")
DOCUMENT_FILE=$(mktemp -t tmp.XXXXXXXXXX)
- # Authoriazation: Token $TOKEN
+ # Authorization: Token $TOKEN
DOCUMENT_URL="https://api.kycaid.com/documents/$ID"
if [ -z "${TOKEN:-}" ]
then
@@ -61,7 +61,7 @@ do
done
-if [ "person" = "${TYPE}" ]
+if [ "PERSON" = "${TYPE}" ]
then
# Next, combine some fields into larger values.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix field names,
gnunet <=