summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/taler-merchant-httpd_refund.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_refund.c b/src/backend/taler-merchant-httpd_refund.c
index 509235e5..d45890a2 100644
--- a/src/backend/taler-merchant-httpd_refund.c
+++ b/src/backend/taler-merchant-httpd_refund.c
@@ -489,9 +489,11 @@ MH_handler_refund_lookup (struct TMH_RequestHandler *rh,
prd.ec,
"Could not generate a response");
}
- return TMH_RESPONSE_reply_json (connection,
- prd.response,
- MHD_HTTP_OK);
+
+ return TMH_RESPONSE_reply_json_pack (connection,
+ MHD_HTTP_OK,
+ "{s:o}",
+ "refund_permissions", prd.response);
}