From d354d119db7ca0195cb93140bf3160b11449fa92 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Aug 2020 20:32:36 +0200 Subject: fix #6432 --- src/backend/taler-merchant-httpd_private-post-instances.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-post-instances.c') diff --git a/src/backend/taler-merchant-httpd_private-post-instances.c b/src/backend/taler-merchant-httpd_private-post-instances.c index 0fec4494..19d6b80d 100644 --- a/src/backend/taler-merchant-httpd_private-post-instances.c +++ b/src/backend/taler-merchant-httpd_private-post-instances.c @@ -190,7 +190,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_BAD_REQUEST, TALER_EC_POST_INSTANCES_BAD_CURRENCY, - "Max deposit fee or max wire fee currency incompatible with config"); + NULL); } { @@ -241,7 +241,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_CONFLICT, TALER_EC_POST_INSTANCES_ALREADY_EXISTS, - "An instance using this identifier already exists"); + is.id); } } } @@ -339,7 +339,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_BAD_REQUEST, TALER_EC_POST_INSTANCES_BAD_PAYTO_URIS, - "Invalid bank account information"); + NULL); } } @@ -370,7 +370,7 @@ TMH_private_post_instances (const struct TMH_RequestHandler *rh, return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_POST_INSTANCES_DB_START_ERROR, - "failed to start database transaction"); + NULL); } qs = TMH_db->insert_instance (TMH_db->cls, &mi->merchant_pub, @@ -425,7 +425,7 @@ retry: return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_POST_INSTANCES_DB_COMMIT_ERROR, - "failed to add instance to database"); + NULL); } /* Finally, also update our running process */ GNUNET_assert (GNUNET_OK == -- cgit v1.2.3