commit e5a14a8b2505533cb13ab28377eb9c3667b95076
parent caf6807856e3044f7e1065d84ca189e4d89b3b12
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 6 Aug 2021 13:14:36 +0200
allow 204 response
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c
@@ -167,6 +167,9 @@ handle_credit_history_finished (void *cls,
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
ec = TALER_EC_NONE;
break;
+ case MHD_HTTP_NO_CONTENT:
+ ec = TALER_EC_NONE;
+ break;
case MHD_HTTP_BAD_REQUEST:
/* This should never happen, either us or the bank is buggy
(or API version conflict); just pass JSON reply to the application */