From a42a2ac2167bf76e5802630b53ff1a2845a7950e Mon Sep 17 00:00:00 2001 From: Derick Lung'aho <83162+derickl@users.noreply.github.com> Date: Tue, 29 Jun 2021 01:00:09 +0300 Subject: [PATCH] BUG - Fix compatibility for projects using rules.nools.js (#119) --- package-lock.json | 2 +- package.json | 2 +- src/core-adapter.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a509d419..bba572cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cht-conf-test-harness", - "version": "2.2.1", + "version": "2.2.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 762b414c..7f43a957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cht-conf-test-harness", - "version": "2.2.1", + "version": "2.2.2", "description": "Test Framework for CHT Projects", "main": "./src/harness.js", "scripts": { diff --git a/src/core-adapter.js b/src/core-adapter.js index d61d560a..f1bbc916 100644 --- a/src/core-adapter.js +++ b/src/core-adapter.js @@ -95,6 +95,7 @@ const prepareRulesEngine = async (chtCore, rulesEngine, appSettings, user, sessi chtCore.RulesEmitter.initialize({ rules: appSettings.tasks.rules, contact: user, + taskSchedules: rulesSettings.taskSchedules }); } };