Remove db reference
This commit is contained in:
parent
a673b15ab9
commit
a7f9a7b6fb
2
main.js
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user