diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-12-28 00:41:43 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-12-28 00:41:43 +0100 |
commit | a9b7985370d3617b56baed292fc5eaaaa89a3ea9 (patch) | |
tree | 5975fa678268b59a1b5b8c04a48e4f50b29f36cf | |
parent | 333dfe91630f5b7d4afde94f53e77720539fe4c7 (diff) | |
download | anastasis-a9b7985370d3617b56baed292fc5eaaaa89a3ea9.tar.gz anastasis-a9b7985370d3617b56baed292fc5eaaaa89a3ea9.tar.bz2 anastasis-a9b7985370d3617b56baed292fc5eaaaa89a3ea9.zip |
-fix country:
-rwxr-xr-x | src/authorization/anastasis-authorization-post.sh | 4 | ||||
-rwxr-xr-x | src/authorization/test-post.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/authorization/anastasis-authorization-post.sh b/src/authorization/anastasis-authorization-post.sh index d5bb3a1..3971309 100755 --- 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 index 8e82af4..fd3a8d8 100755 --- 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" |