aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-05 17:09:51 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-05 17:09:51 +0100
commit4bc424f942208c40d199bd0a75599aa179dadbcf (patch)
tree6d656730ef15ce0f1f8ec43a829245fb32e70f87
parent652de42caba601d0cab7264909f78ec483af4d9d (diff)
return proper ec codes
-rw-r--r--src/lib/merchant_api_refund.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_refund.c b/src/lib/merchant_api_refund.c
index 3c079ce4..c48896d7 100644
--- a/src/lib/merchant_api_refund.c
+++ b/src/lib/merchant_api_refund.c
@@ -130,7 +130,7 @@ handle_refund_increase_finished (void *cls,
case MHD_HTTP_NOT_FOUND:
rio->cb (rio->cb_cls,
response_code,
- TALER_EC_NONE,
+ TALER_JSON_get_error_code (json),
json);
break;
default:
@@ -297,7 +297,7 @@ handle_refund_lookup_finished (void *cls,
case MHD_HTTP_NOT_FOUND:
rlo->cb (rlo->cb_cls,
response_code,
- TALER_EC_NONE,
+ TALER_JSON_get_error_code (json),
json);
break;
default: