mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
feat: finished queue filter on tickets list
This commit is contained in:
@@ -63,7 +63,7 @@ export const store = async (req: Request, res: Response): Promise<Response> => {
|
||||
|
||||
const io = getIO();
|
||||
io.to(ticket.status).emit("ticket", {
|
||||
action: "create",
|
||||
action: "update",
|
||||
ticket
|
||||
});
|
||||
|
||||
@@ -100,7 +100,7 @@ export const update = async (
|
||||
}
|
||||
|
||||
io.to(ticket.status).to("notification").to(ticketId).emit("ticket", {
|
||||
action: "updateStatus",
|
||||
action: "update",
|
||||
ticket
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user