mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +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
|
ticketId
|
||||||
});
|
});
|
||||||
|
|
||||||
await SetTicketMessagesAsRead(ticket);
|
SetTicketMessagesAsRead(ticket);
|
||||||
|
|
||||||
return res.json({ count, messages, ticket, hasMore });
|
return res.json({ count, messages, ticket, hasMore });
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user