fix(core): update

This commit is contained in:
Philipp Kunz 2020-01-23 16:52:22 +00:00
parent e67fbfebf6
commit 773ae00517

View File

@ -33,7 +33,7 @@ export class SmartRule<T> {
for (const rule of nextBatch) {
const checkResult = await rule.checkFunction(objectArg);
if (checkResult.startsWith("apply")) {
await rule.actionFunction(objectArg);
await rule.actionFunction(objectArg); // here the action function is run
}
outcomes.push(checkResult);
}