mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
fix: connections page not updating on session changes
This commit is contained in:
@@ -21,7 +21,7 @@ const wbotMonitor = (whatsapp: Whatsapp): void => {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
io.emit("session", {
|
||||
io.emit("whatsappSession", {
|
||||
action: "update",
|
||||
session: whatsapp
|
||||
});
|
||||
@@ -40,7 +40,7 @@ const wbotMonitor = (whatsapp: Whatsapp): void => {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
io.emit("session", {
|
||||
io.emit("whatsappSession", {
|
||||
action: "update",
|
||||
session: whatsapp
|
||||
});
|
||||
@@ -55,7 +55,7 @@ const wbotMonitor = (whatsapp: Whatsapp): void => {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
io.emit("session", {
|
||||
io.emit("whatsappSession", {
|
||||
action: "update",
|
||||
session: whatsapp
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user