improved many thing

This commit is contained in:
Leifer Mendez
2022-01-15 12:36:46 +01:00
parent 4727114dee
commit 1d3410ac91
19 changed files with 848 additions and 993 deletions

12
controllers/connection.js Normal file
View File

@@ -0,0 +1,12 @@
const connectionReady = (cb = () =>{}) => {
console.log('Client is ready!');
cb()
}
const connectionLost = (cb = () =>{}) => {
console.log('** Error de autentificacion vuelve a generar el QRCODE (Borrar el archivo session.json) **');
cb()
}
module.exports = {connectionReady, connectionLost}