diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-25 20:32:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-25 20:32:36 +0200 |
commit | d354d119db7ca0195cb93140bf3160b11449fa92 (patch) | |
tree | ae96671396a0073d4416cb59d57a7a54f87bd20b /src/backend/taler-merchant-httpd_private-post-instances.c | |
parent | 0acefc910ff1b86aa04300310d63e3ea88d509de (diff) | |
download | merchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.gz merchant-d354d119db7ca0195cb93140bf3160b11449fa92.tar.bz2 merchant-d354d119db7ca0195cb93140bf3160b11449fa92.zip |
fix #6432
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-instances.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-instances.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 == |