fix(core): update

This commit is contained in:
Philipp Kunz 2020-10-20 22:09:35 +00:00
parent 0dc496d22a
commit 9157d51471

View File

@ -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}`);
}
}