summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-orders.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
index 95603388..a281287a 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -1368,8 +1368,7 @@ set_token_authority (struct OrderContext *oc,
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Token family slug unknown\n");
http_status = MHD_HTTP_NOT_FOUND;
- /* TODO: Add specific error code */
- ec = TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE;
+ ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_TOKEN_FAMILY_SLUG_UNKNOWN;
break;
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
/* case listed to make compilers happy */
@@ -1379,7 +1378,7 @@ set_token_authority (struct OrderContext *oc,
reply_with_error (oc,
http_status,
ec,
- "authority_label");
+ "token_family_slug");
return MHD_NO;
}