commit 2e2d1c865135a3bdcdf7b142588e092e1228200e
parent 4b46b2c51c94e086c5c3d8186f76358016e1aa3d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 11 Apr 2021 00:00:43 +0200
remove legacy code
Diffstat:
1 file 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
@@ -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)