diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-07 00:16:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-07 00:16:06 +0200 |
commit | 6d363488a1cc874e9dbd3f3841439b4e4df2c826 (patch) | |
tree | 25c028f6550c657cc52c71a5b367dabb84d3b1f8 /src/templating | |
parent | 1639cefa617435ac4df5a8cd70c298aa1e1a820a (diff) |
allow NULL
Diffstat (limited to 'src/templating')
-rw-r--r-- | src/templating/templating_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index dba042e5d..4bd7c5fe7 100644 --- a/src/templating/templating_api.c +++ b/src/templating/templating_api.c @@ -443,8 +443,9 @@ TALER_TEMPLATING_reply_error (struct MHD_Connection *connection, ec), GNUNET_JSON_pack_string ("hint", TALER_ErrorCode_get_hint (ec)), - GNUNET_JSON_pack_string ("detail", - detail) + GNUNET_JSON_pack_allow_null ( + GNUNET_JSON_pack_string ("detail", + detail)) ); ret = TALER_TEMPLATING_reply (connection, http_status, |