aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-22 01:30:02 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-22 01:30:02 +0100
commit2aa61c9fc71e44a6acf23510ef4d6d733f289296 (patch)
treea7d77d1e0cd2a1604934363d17657ad6009f09e0
parent3325d1d050f637cdd9a2932d7dd28c23d189d23c (diff)
fix refund fast path
-rw-r--r--src/webex/wxBackend.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index 98b543d28..30842398b 100644
--- a/src/webex/wxBackend.ts
+++ b/src/webex/wxBackend.ts
@@ -514,7 +514,7 @@ function handleHttpPayment(headerList: chrome.webRequest.HttpHeader[], url: stri
console.log("processing refund");
const uri = new URI(chrome.extension.getURL("/src/webex/pages/refund.html"));
uri.query({ refundUrl: fields.refund_url });
- return { redirectUrl: uri.href };
+ return { redirectUrl: uri.href() };
}
// We need to do some asynchronous operation, we can't directly redirect