diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-08-25 10:43:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-08-25 10:43:52 +0200 |
commit | 7abd317b7b9b9abe096a60f364510b912b94bf48 (patch) | |
tree | a48a7aed05d1fbc364f10e3eb78bc3d38d4eca39 /src/kyclogic/taler-exchange-helper-measure-freeze | |
parent | 57e7b57f7dae7a203d7221e224f5a4c918431e11 (diff) |
custom_measures is a mandatory field, check it exists and generate it in the helpers
Diffstat (limited to 'src/kyclogic/taler-exchange-helper-measure-freeze')
-rwxr-xr-x | src/kyclogic/taler-exchange-helper-measure-freeze | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kyclogic/taler-exchange-helper-measure-freeze b/src/kyclogic/taler-exchange-helper-measure-freeze index 3505f5945..e3e03f6da 100755 --- a/src/kyclogic/taler-exchange-helper-measure-freeze +++ b/src/kyclogic/taler-exchange-helper-measure-freeze @@ -85,11 +85,13 @@ EXPIRATION=$((3600 * 30 + $(date +%s))) # See https://docs.taler.net/taler-exchange-manual.html#tsref-type-AmlOutcome # for the required output format. +# NOTE: new_check is not yet supported! jq -n \ --arg expiration "$EXPIRATION" \ '{ "to_investigate": true, "new_rules" : { "new_check" : "info-frozen", + "custom_measures" : {}, "expiration_time" : { "t_s": $expiration }, "rules" : [ { |