From ddf39b94333406e2dbc11e95e0c04f456e0f977d Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 26 Nov 2021 18:36:50 +0100 Subject: [PATCH] Fixed require --- src/helper/influx-checks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/influx-checks.js b/src/helper/influx-checks.js index 857332e..66bdfc5 100644 --- a/src/helper/influx-checks.js +++ b/src/helper/influx-checks.js @@ -1,4 +1,4 @@ -const logger = require("./helper/logger.js")("influx-checks"); +const logger = require.main.require("./helper/logger.js")("influx-checks"); const Influx = require('@influxdata/influxdb-client-apis');