diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-11 00:00:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-11 00:00:55 +0200 |
commit | 2e2d1c865135a3bdcdf7b142588e092e1228200e (patch) | |
tree | d7c98df7d7c18b59b4e784815666f5bb5ba9fd00 | |
parent | 4b46b2c51c94e086c5c3d8186f76358016e1aa3d (diff) |
remove legacy code
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders-ID-refund.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders-ID-refund.c b/src/backend/taler-merchant-httpd_private-post-orders-ID-refund.c index 10b75d74..4300c607 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders-ID-refund.c +++ b/src/backend/taler-merchant-httpd_private-post-orders-ID-refund.c @@ -155,10 +155,11 @@ TMH_private_post_orders_ID_refund (const struct TMH_RequestHandler *rh, if (timestamp.abs_value_us == refund_deadline.abs_value_us) { /* refund was never allowed, so we should refuse hard */ - return TALER_MHD_reply_with_error (connection, - MHD_HTTP_FORBIDDEN, - TALER_EC_MERCHANT_REFUND_NOT_ALLOWED_BY_CONTRACT, - NULL); + return TALER_MHD_reply_with_error ( + connection, + MHD_HTTP_FORBIDDEN, + TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT, + NULL); } if (0 == GNUNET_TIME_absolute_get_remaining ( refund_deadline).rel_value_us) |