aboutsummaryrefslogtreecommitdiff
path: root/src/headless/merchant.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-18 20:55:34 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-18 20:55:34 +0100
commitfcb0565323d3134ec2dc376700ef85a2c7b7becd (patch)
treefe74e16ab1ffd0ecb6a2a2dd03a8a26618ad71a7 /src/headless/merchant.ts
parent9ad8c69782b69e2565bf6cdcb8cca555fced1292 (diff)
downloadwallet-core-fcb0565323d3134ec2dc376700ef85a2c7b7becd.tar.xz
generate refund in integration test
Diffstat (limited to 'src/headless/merchant.ts')
-rw-r--r--src/headless/merchant.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headless/merchant.ts b/src/headless/merchant.ts
index 1da5d5f03..b30e00d8a 100644
--- a/src/headless/merchant.ts
+++ b/src/headless/merchant.ts
@@ -33,7 +33,7 @@ export class MerchantBackendConnection {
orderId: string,
reason: string,
refundAmount: string,
- ): Promise<void> {
+ ): Promise<string> {
const reqUrl = new URL("refund", this.merchantBaseUrl);
const refundReq = {
order_id: orderId,