aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-25 10:34:10 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-25 10:34:10 +0200
commit57e7b57f7dae7a203d7221e224f5a4c918431e11 (patch)
tree9847d61339f4e4cef431566a4276c0d88b287c66
parent8ec6f1eaded81a62a84a7e7a9b05cd3127b6a9fc (diff)
justification is optional
-rw-r--r--src/lib/exchange_api_lookup_aml_decisions.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/exchange_api_lookup_aml_decisions.c b/src/lib/exchange_api_lookup_aml_decisions.c
index 8d0d1f919..8f9b2c237 100644
--- a/src/lib/exchange_api_lookup_aml_decisions.c
+++ b/src/lib/exchange_api_lookup_aml_decisions.c
@@ -287,8 +287,10 @@ parse_aml_decisions (
&decision->h_payto),
GNUNET_JSON_spec_uint64 ("rowid",
&decision->rowid),
- GNUNET_JSON_spec_string ("justification",
- &decision->justification),
+ GNUNET_JSON_spec_mark_optional (
+ GNUNET_JSON_spec_string ("justification",
+ &decision->justification),
+ NULL),
GNUNET_JSON_spec_timestamp ("decision_time",
&decision->decision_time),
GNUNET_JSON_spec_mark_optional (