From 9157d5147123fa94249186d6d374e654e6ed7e3d Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 20 Oct 2020 22:09:35 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index a2e4e63..4260ec2 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -64,7 +64,7 @@ export class CsWebclient { const scriptString = consentTuple.script as string; // tslint:disable-next-line: function-constructor const tupleFunction = new Function(scriptString); - await tupleFunction(); + await tupleFunction(consentTuple.scriptExecutionDataArg); console.log (`Successfully executed ConsentTuple >>${consentTuple.name}<< -> ${consentTuple.description}`); } }