From a7f9a7b6fbf70a68939f32d0ec410940914ce949 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 22 Jan 2023 13:20:31 -0500 Subject: [PATCH] Remove db reference --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 621c233..184f5bf 100644 --- a/main.js +++ b/main.js @@ -16,7 +16,7 @@ fn.commands.refreshConfig().then(res => { var gpio = require('rpi-gpio'); fn.init(gpio).then((res) => { console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: ${res}`); - main(gpio, db); + main(gpio); }).catch(rej => { console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] E: Error during initialization: ${rej}`); process.exit(1);