summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-products-ID.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-products-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-products-ID.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-products-ID.c b/src/backend/taler-merchant-httpd_private-get-products-ID.c
index 611de7e8..41ef612d 100644
--- a/src/backend/taler-merchant-httpd_private-get-products-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-products-ID.c
@@ -51,8 +51,9 @@ TMH_private_get_products_ID (const struct TMH_RequestHandler *rh,
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_GET_PRODUCTS_DB_LOOKUP_ERROR,
- "failed to lookup products in database");
+ NULL);
}
+ // FIXME: MUST return 404 if qs == 0, not this!
{
json_t *reply;