mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
fix: deleting a ticket with unreadMessages keeps ticket in notifications
This commit is contained in:
@@ -101,6 +101,7 @@ export const remove = async (
|
||||
const io = getIO();
|
||||
io.to(ticket.status)
|
||||
.to(ticketId)
|
||||
.to("notification")
|
||||
.emit("ticket", {
|
||||
action: "delete",
|
||||
ticketId: +ticketId
|
||||
|
||||
Reference in New Issue
Block a user