json-rules-engine icon indicating copy to clipboard operation
json-rules-engine copied to clipboard

updateRule not working

Open axchanda opened this issue 2 years ago • 0 comments

engine.updateRule(rule) ^

TypeError: engine.updateRule is not a function at Rule. (/home/ashwin/sandbox/json-rules-engine/examples/sandbox.js:86:16) at Rule.EventEmitter.emitAsync (/home/ashwin/sandbox/json-rules-engine/examples/node_modules/eventemitter2/lib/eventemitter2.js:1133:31) at processResult (/home/ashwin/sandbox/json-rules-engine/examples/node_modules/json-rules-engine/dist/rule.js:339:23) at /home/ashwin/sandbox/json-rules-engine/examples/node_modules/json-rules-engine/dist/rule.js:350:18 at async Promise.all (index 0)

axchanda avatar Jun 21 '22 04:06 axchanda