Sorry marc1006, I had to revert deepcode.ai arrow function fixes because

Python API docs generator does not work all when code has arrow functions.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-05-25 21:33:38 +03:00
parent 252c4b19f9
commit f9018fc3a8
5 changed files with 12 additions and 12 deletions

View file

@ -17,7 +17,7 @@ RulesHelper = {
const matchingMap = this.buildMatchingFieldsMap(activity, matchingFields);
const matchingTriggers = Triggers.find(matchingMap);
const matchingRules = [];
matchingTriggers.forEach(trigger => {
matchingTriggers.forEach(function(trigger) {
const rule = trigger.getRule();
// Check that for some unknown reason there are some leftover triggers
// not connected to any rules