commit b526e41df3ec3a1a267ad1844d0d302c1d30f6ba parent 5f26104c6f2da4e4c978a2d6e5384da32f8eb169 Author: Florian Dold <florian@dold.me> Date: Mon, 7 Jul 2025 22:34:21 +0200 fix capitalization of FORM_ID attribute Diffstat:
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/kyclogic/taler-exchange-helper-measure-tops-3rdparty-check b/src/kyclogic/taler-exchange-helper-measure-tops-3rdparty-check @@ -89,7 +89,7 @@ fi INPUTS=$(jq '{"current_rules":.current_rules,"attributes":.attributes}') # Check form ID, must be 'vqf-902.11' -FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.form_id') +FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.FORM_ID') # The 'form' here should be the VQF 902.11 customer form if [ "$FORM_ID" != "vqf_902_11_customer" ] diff --git a/src/kyclogic/taler-exchange-helper-measure-tops-kyx-check b/src/kyclogic/taler-exchange-helper-measure-tops-kyx-check @@ -91,7 +91,7 @@ INPUTS=$(jq '{"current_rules":.current_rules,"attributes":.attributes}') # Check form ID, must be 'vqf-902.11' -FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.form_id') +FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.FORM_ID') # The 'form' here should be the VQF 902.11 customer form if [ "$FORM_ID" != "vqf_902_1_customer" ] diff --git a/src/kyclogic/taler-exchange-helper-measure-validate-accepted-tos b/src/kyclogic/taler-exchange-helper-measure-validate-accepted-tos @@ -19,7 +19,6 @@ set -eu - # Exit, with error message (hard failure) function exit_fail() { echo " FAIL: " "$@" >&2 @@ -93,7 +92,7 @@ fi INPUTS=$(jq '{"current_rules":.current_rules,"attributes":.attributes,"context":.context}') # Check form ID, must be 'accept-tos' -FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.form_id') +FORM_ID=$(echo "$INPUTS" | jq -r '.attributes.FORM_ID') # The 'form' here should be the accept TOS form if [ "$FORM_ID" != "accept-tos" ]