diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-01 19:59:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-01 19:59:44 +0200 |
commit | bcf5863eb45523615540ac99ab81fd131bd2f413 (patch) | |
tree | 0086e76a9009289073c7b07338d072d6baac8e11 /src/backend/taler-merchant-httpd_helper.h | |
parent | c4d13313b9beff9b8b2948604ae0f6561721c33c (diff) |
-more json_pack fixes
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.h')
-rw-r--r-- | src/backend/taler-merchant-httpd_helper.h | 2 |
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)) |