summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.h')
-rw-r--r--src/backend/taler-merchant-httpd_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_helper.h b/src/backend/taler-merchant-httpd_helper.h
index dd5da27a..536f4ce5 100644
--- a/src/backend/taler-merchant-httpd_helper.h
+++ b/src/backend/taler-merchant-httpd_helper.h
@@ -96,6 +96,8 @@ TMH_uuid_from_string (const char *uuids,
#define TMH_pack_exchange_reply(hr) \
GNUNET_JSON_pack_uint64 ("exchange_code", hr->ec), \
GNUNET_JSON_pack_uint64 ("exchange_http_status", hr->http_status), \
+ GNUNET_JSON_pack_uint64 ("exchange_ec", hr->ec), /* LEGACY */ \
+ GNUNET_JSON_pack_uint64 ("exchange_hc", hr->http_status), /* LEGACY */ \
GNUNET_JSON_pack_allow_null ( \
GNUNET_JSON_pack_object_incref ("exchange_reply", (json_t *) hr->reply))