commit 1d3b92b9375192fe888c218d8d24a1fad2874a2e
parent 43b67e4a8f9790df0b892ff288732fc2bd5ba7d9
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 8 Apr 2025 20:31:19 +0200
make sure successor_measure is defined
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/kyclogic/taler-exchange-helper-measure-tops-kyx-check b/src/kyclogic/taler-exchange-helper-measure-tops-kyx-check
@@ -90,7 +90,7 @@ fi
INPUTS=$(jq '{"current_rules":.current_rules,"attributes":.attributes}')
# Get entity type
-LEGAL_ENTITY=$(echo "$INPUTS" | jq '.attributes.CUSTOMER_TYPE_VQF // null')
+LEGAL_ENTITY=$(echo "$INPUTS" | jq '.attributes.CUSTOMER_TYPE_VQF.text // null')
# Get current rules.
CURRENT_RULES=$(echo "$INPUTS" | jq '.current_rules // null')
# Get context values.
@@ -144,6 +144,10 @@ in
;;
esac
+# When the information expires, simply ask the user to do the
+# same form again.
+SUCCESSOR_MEASURE="kyx"
+
# Finally, output the new rules.
# See https://docs.taler.net/taler-kyc-manual.html#tsref-type-AmlOutcome
# for the required output format.