diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-06-03 20:39:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-06-03 20:39:11 +0200 |
commit | 24a2a3f887ce34d42dc20dc7952b8edeb4a21bd4 (patch) | |
tree | d08dd484947496b178a1017f7ebc6e3a46be648c /src/backend/taler-merchant-httpd_post-orders-ID-pay.c | |
parent | 2789caa9b8658e88eebf3333475f989e7cd2fd37 (diff) |
new backenddb APIs for GET /private/orders/ID
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index b1f5c037..6792a019 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1592,11 +1592,13 @@ parse_pay (struct MHD_Connection *connection, { enum GNUNET_DB_QueryStatus qs; json_t *contract_terms = NULL; + uint64_t order_serial; qs = TMH_db->lookup_contract_terms (TMH_db->cls, hc->instance->settings.id, pc->order_id, - &contract_terms); + &contract_terms, + &order_serial); if (0 > qs) { /* single, read-only SQL statements should never cause |