Remove db reference

This commit is contained in:
Skylar Grant 2023-01-22 13:20:31 -05:00
parent a673b15ab9
commit a7f9a7b6fb

View File

@ -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);