exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 46f9762b05af91786fb6a3701fdad296da356a1c
parent f85eea121a8cb47d302beda4563fe3e9ba31ed6b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 May 2025 22:00:43 +0200

fix inform-investigate rule

Diffstat:
Msrc/kyclogic/taler-exchange-helper-measure-inform-investigate | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/kyclogic/taler-exchange-helper-measure-inform-investigate b/src/kyclogic/taler-exchange-helper-measure-inform-investigate @@ -87,16 +87,10 @@ fi # First, extract inputs we need CURRENT_RULES=$(jq '.current_rules') -# FIXME: not generic, figure out how to do this nicely regardless of -# what rule we are at. -# FIXME: #9854 -NEW_RULES=$(echo "$CURRENT_RULES" | jq '(.rules[] |= if (.rule_name=="deposit-limit-zero") then .measures=["form-info-investigation"] else . end)') - - # Finally, output the new rules. # See https://docs.taler.net/taler-kyc-manual.html#tsref-type-AmlOutcome # for the required output format. exec jq -n \ - --argjson nr "$NEW_RULES" \ - '{"new_rules":$nr,"to_investigate":true}' + --argjson nr "$CURRENT_RULES" \ + '{"new_rules":$nr,"to_investigate":true,"new_measures":"inform-investigate"}'