Skip to content

Commit

Permalink
fix(wait-until): fixed scope for setContextValue
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Mar 31, 2019
1 parent d6deccb commit 3fdfa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/wait-until/wait-until.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ module.exports = function(RED) {
state.timeSinceChangedMs =
Date.now() - new Date(state.last_changed).getTime();

this.setContextValue(
node.setContextValue(
state,
config.entityLocationType,
config.entityLocation,
Expand Down

0 comments on commit 3fdfa27

Please sign in to comment.