commit a9b7985370d3617b56baed292fc5eaaaa89a3ea9
parent 333dfe91630f5b7d4afde94f53e77720539fe4c7
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 28 Dec 2022 00:41:43 +0100
-fix country:
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/authorization/anastasis-authorization-post.sh b/src/authorization/anastasis-authorization-post.sh
@@ -107,7 +107,7 @@ SENDER="$(jq -n '
number: "7",
zip: "5421",
city: "Erpeldange",
- country: "Luxembourg"
+ country: "LU"
}'
)"
@@ -155,7 +155,7 @@ case $STATUS in
exit 1;
;;
esac
-LETTER_ID=`cat $REPLY | jq -r .data.id`
+LETTER_ID=`echo $REPLY | jq -r .data.id`
exit 0
diff --git a/src/authorization/test-post.sh b/src/authorization/test-post.sh
@@ -6,7 +6,7 @@ ADDR=`jq -n '{
street: "Bar street 3",
city: "Wuppertal",
postcode: 42289,
- country: "Deutschland",
+ country: "DE",
}'`
echo "Your recovery code is 1234" | ./anastasis-authorization-post.sh "$ADDR"