From a42eb85772fabf1e6a7de2b7b9cd5e1f1dc46c8f Mon Sep 17 00:00:00 2001 From: Manuel Romero Date: Mon, 20 Apr 2020 13:19:36 +0200 Subject: [PATCH] fix --- server/stop5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/stop5.js b/server/stop5.js index f962446..584fe5f 100644 --- a/server/stop5.js +++ b/server/stop5.js @@ -67,7 +67,7 @@ async function init(type) { } timeRunning(p); console.log(p._id, "limit: " +limit, "duration:"+p.duration.hours); - if ( p.duration && p.duration.hours > limit) { + if ( p.duration && p.duration.hours >= limit) { await cb(p); } });