mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
chore: remove await for sendSeen method when listing messages
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 });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user