summaryrefslogtreecommitdiff
path: root/regional-currency/setup-libeufin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regional-currency/setup-libeufin.sh')
-rwxr-xr-xregional-currency/setup-libeufin.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/regional-currency/setup-libeufin.sh b/regional-currency/setup-libeufin.sh
index b62cc58..ba2bf5b 100755
--- a/regional-currency/setup-libeufin.sh
+++ b/regional-currency/setup-libeufin.sh
@@ -52,7 +52,7 @@ EOF
if test -n "${TELESIGN_AUTH_TOKEN:-}"; then
cat >>/etc/libeufin/libeufin-bank.conf <<EOF
TAN_SMS=libeufin-tan-sms.sh
-TAN_SMS_ENV="AUTH_TOKEN=$TELESIGN_AUTH_TOKEN"
+TAN_SMS_ENV={"AUTH_TOKEN":"$TELESIGN_AUTH_TOKEN"}
EOF
fi
@@ -106,16 +106,16 @@ curl -sS -u "admin:${BANK_ADMIN_PASSWORD}" \
${PROTO}://bank.${DOMAIN_NAME}/conversion-info/conversion-rate \
--data-binary @- &>> setup.log << EOF
{
- "cashin_ratio": "1",
- "cashin_fee": "${CURRENCY}:0",
- "cashin_tiny_amount": "${CURRENCY}:0.01",
- "cashin_rounding_mode": "nearest",
- "cashin_min_amount": "${FIAT_CURRENCY}:1",
- "cashout_ratio": "1",
- "cashout_fee": "${FIAT_CURRENCY}:0",
- "cashout_tiny_amount": "${FIAT_CURRENCY}:0.01",
- "cashout_rounding_mode": "nearest",
- "cashout_min_amount": "${CURRENCY}:1"
+ "cashin_ratio": "1",
+ "cashin_fee": "${CURRENCY}:0",
+ "cashin_tiny_amount": "${CURRENCY}:0.01",
+ "cashin_rounding_mode": "nearest",
+ "cashin_min_amount": "${FIAT_CURRENCY}:1",
+ "cashout_ratio": "1",
+ "cashout_fee": "${FIAT_CURRENCY}:0",
+ "cashout_tiny_amount": "${FIAT_CURRENCY}:0.01",
+ "cashout_rounding_mode": "nearest",
+ "cashout_min_amount": "${CURRENCY}:1"
}
EOF