aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-23 17:26:30 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-23 17:26:30 +0530
commit321a748180db10359066b73d17d0262142f46822 (patch)
treea24e8f71e98cb8933c601912d409b53001e4b59b
parentf3123fb68b973292a1e0d196367951d9128bdabf (diff)
send correct success flag
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index d980aa68..05bdf384 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -1015,7 +1015,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
{
refund = json_pack ("{s:b,s:I,s:I,s:o,s:I,s:o,s:o,s:o}"
"success",
- true,
+ false,
"exchange_status",
(json_int_t) cr->exchange_status,
"exchange_code",
@@ -1036,7 +1036,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
{
refund = json_pack ("{s:b,s:I,s:o,s:o,s:I,s:o,s:o,s:o}",
"success",
- false,
+ true,
"exchange_status",
(json_int_t) cr->exchange_status,
"exchange_sig",