From 2aa61c9fc71e44a6acf23510ef4d6d733f289296 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 22 Jan 2018 01:30:02 +0100 Subject: [PATCH] fix refund fast path --- src/webex/wxBackend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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