fix(core): update
This commit is contained in:
parent
0dc496d22a
commit
9157d51471
@ -64,7 +64,7 @@ export class CsWebclient {
|
|||||||
const scriptString = consentTuple.script as string;
|
const scriptString = consentTuple.script as string;
|
||||||
// tslint:disable-next-line: function-constructor
|
// tslint:disable-next-line: function-constructor
|
||||||
const tupleFunction = new Function(scriptString);
|
const tupleFunction = new Function(scriptString);
|
||||||
await tupleFunction();
|
await tupleFunction(consentTuple.scriptExecutionDataArg);
|
||||||
console.log (`Successfully executed ConsentTuple >>${consentTuple.name}<< -> ${consentTuple.description}`);
|
console.log (`Successfully executed ConsentTuple >>${consentTuple.name}<< -> ${consentTuple.description}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user