Skip to content

Commit

Permalink
Merge a77203f into 4940ba7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jul 7, 2023
2 parents 4940ba7 + a77203f commit e404176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- Remove support for ngsv1 notifications (#714)
- Remove ngsiv1 support for updateAction (#714)
- Check timer string in lower case
2 changes: 1 addition & 1 deletion lib/models/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function isTimedRule(rule) {
// Detect timed rules, taken from perseo-core
// https://github.com/telefonicaid/perseo-core/blob/master/perseo-main/src/main/java/com/telefonica/iot/perseo/TimeRulesStore.java#L110
return (
(rule.text && rule.text.includes('timer:')) ||
(rule.text && rule.text.toLowerCase().includes('timer:')) ||
(rule.text &&
rule.text.toLowerCase().includes('match_recognize') &&
rule.text.toLowerCase().includes('interval'))
Expand Down

0 comments on commit e404176

Please sign in to comment.