diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-02 17:11:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-02 17:11:55 +0200 |
commit | dcc083c0959d395bcd4bcf9aee276eb96ea76dee (patch) | |
tree | 4920a7e2ef9edce96420cc4f2e746cd21672d1cf /src/backend/taler-merchant-httpd_post-orders-ID-pay.c | |
parent | 3528056f9afa9b540ba4ca3f57eb581e5b514540 (diff) |
POST /orders/ID/refund implementation
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 46bcaee1..5962eb59 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1822,7 +1822,9 @@ TMH_post_orders_ID_pay (const struct TMH_RequestHandler *rh, hc, pc); if (GNUNET_OK != ret) - return (GNUNET_NO == ret) ? MHD_YES : MHD_NO; + return (GNUNET_NO == ret) + ? MHD_YES + : MHD_NO; } /* Payment not finished, suspend while we interact with the exchange */ |