diff options
Diffstat (limited to 'src/templating/templating_api.c')
-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, |