From 3b10c3a45c6a3ea1db7c654b1f194cf884dac40d Mon Sep 17 00:00:00 2001 From: Joris Tirado Date: Thu, 17 Jan 2019 17:48:19 -0800 Subject: [PATCH] UI-3293: Use correct prop to set lunch hour rule upper bound (#116) --- submodules/strategy/strategy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/strategy/strategy.js b/submodules/strategy/strategy.js index 7776b23..cebb7ac 100644 --- a/submodules/strategy/strategy.js +++ b/submodules/strategy/strategy.js @@ -1650,7 +1650,7 @@ define(function(require) { .value(); }), time_window_start: monster.util.timeToSeconds(customHours.lunchbreak.from), - time_window_end: monster.util.timeToSeconds(customHours.lunchbreak.to) + time_window_stop: monster.util.timeToSeconds(customHours.lunchbreak.to) }); tmpRulesRequests.lunchbreak = function(callback) {