fix refund fast path

This commit is contained in:
Florian Dold 2018-01-22 01:30:02 +01:00
parent 3325d1d050
commit 2aa61c9fc7
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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