diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-tips-ID.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_get-tips-ID.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_get-tips-ID.c b/src/backend/taler-merchant-httpd_get-tips-ID.c index 5fa257fc..fd60c6e9 100644 --- a/src/backend/taler-merchant-httpd_get-tips-ID.c +++ b/src/backend/taler-merchant-httpd_get-tips-ID.c @@ -171,7 +171,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh, GNUNET_break_op (0); return TALER_MHD_reply_with_error (connection, MHD_HTTP_BAD_REQUEST, - TALER_EC_PARAMETER_MALFORMED, + TALER_EC_GENERIC_PARAMETER_MALFORMED, hc->infix); } @@ -193,7 +193,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh, GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs); return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, - TALER_EC_GET_TIPS_DB_LOOKUP_ERROR, + TALER_EC_GENERIC_DB_FETCH_FAILED, NULL); } if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) @@ -203,7 +203,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh, hc->infix); return TALER_MHD_reply_with_error (connection, MHD_HTTP_NOT_FOUND, - TALER_EC_GET_TIPS_ID_UNKNOWN, + TALER_EC_MERCHANT_GENERIC_TIP_ID_UNKNOWN, hc->infix); } @@ -238,7 +238,7 @@ TMH_get_tips_ID (const struct TMH_RequestHandler *rh, GNUNET_free (uri); ret = TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, - TALER_EC_ALLOCATION_FAILURE, + TALER_EC_GENERIC_ALLOCATION_FAILURE, "during QR code generation"); } else |