From 5c0b1e8d90c4d5d3f380282e48a77d39490ba140 Mon Sep 17 00:00:00 2001 From: Unitech Date: Mon, 16 Jul 2018 15:20:40 +0200 Subject: [PATCH] fix: scope --- src/InteractorDaemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InteractorDaemon.js b/src/InteractorDaemon.js index 33b52fd..b79fafa 100644 --- a/src/InteractorDaemon.js +++ b/src/InteractorDaemon.js @@ -355,7 +355,7 @@ const InteractorDaemon = module.exports = class InteractorDaemon { // start interactors this.watchDog = WatchDog - setTimeout(function() { + setTimeout(() => { this.watchDog.start({ conf: { ipm2: this.getPM2Client()