mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
Merge branch 'master' into queue
This commit is contained in:
@@ -30,7 +30,7 @@ export const index = async (req: Request, res: Response): Promise<Response> => {
|
||||
ticketId
|
||||
});
|
||||
|
||||
await SetTicketMessagesAsRead(ticket);
|
||||
SetTicketMessagesAsRead(ticket);
|
||||
|
||||
return res.json({ count, messages, ticket, hasMore });
|
||||
};
|
||||
@@ -42,7 +42,7 @@ export const store = async (req: Request, res: Response): Promise<Response> => {
|
||||
|
||||
const ticket = await ShowTicketService(ticketId);
|
||||
|
||||
await SetTicketMessagesAsRead(ticket);
|
||||
SetTicketMessagesAsRead(ticket);
|
||||
|
||||
if (medias) {
|
||||
await Promise.all(
|
||||
|
||||
Reference in New Issue
Block a user