commit 0bc2f82eeeafd47a948c024805403c539ddeb8d3
parent 77cf03866dba87b9e492eeefca464319936f292b
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 19 Jan 2018 02:29:20 +0100
Florian is right, this should be a 409, not 500
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_tip-pickup.c b/src/backend/taler-merchant-httpd_tip-pickup.c
@@ -212,7 +212,7 @@ run_pickup (struct MHD_Connection *connection,
human = "tip identifier not known to this service";
break;
case TALER_EC_TIP_PICKUP_NO_FUNDS:
- response_code = MHD_HTTP_SERVICE_UNAVAILABLE;
+ response_code = MHD_HTTP_CONFLICT;
human = "withdrawn funds exceed amounts approved for tip";
break;
default: