chore: remove await for sendSeen method when listing messages

This commit is contained in:
canove
2021-01-12 14:06:31 -03:00
parent 2f7aeb738e
commit cda7221611

View File

@@ -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 });
};