mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
feat: option to handle whatsapp session on app
This commit is contained in:
@@ -66,9 +66,9 @@ io.on("connection", socket => {
|
||||
|
||||
wBot
|
||||
.init()
|
||||
.then(() => {
|
||||
.then(({ dbSession }) => {
|
||||
wbotMessageListener();
|
||||
wbotMonitor();
|
||||
wbotMonitor(dbSession);
|
||||
})
|
||||
.catch(err => console.log(err));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user