From 42a0076f5951d303635b2e544aa66112cdb9abfe Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 1 Feb 2016 15:10:20 +0100 Subject: new fulfillment protocol --- extension/lib/web-common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extension/lib/web-common.ts') diff --git a/extension/lib/web-common.ts b/extension/lib/web-common.ts index 028337115..34ae2a1a8 100644 --- a/extension/lib/web-common.ts +++ b/extension/lib/web-common.ts @@ -14,8 +14,8 @@ TALER; see the file COPYING. If not, If not, see */ -export function substituteFulfillmentUrl(url: string, offer) { - url = url.replace("${H_contract}", offer.H_contract); +export function substituteFulfillmentUrl(url: string, vars) { + url = url.replace("${H_contract}", vars.H_contract); url = url.replace("${$}", "$"); return url; } \ No newline at end of file -- cgit v1.2.3