diff --git a/backend/src/services/TicketServices/UpdateTicketService.ts b/backend/src/services/TicketServices/UpdateTicketService.ts index 5333584..2d3048b 100644 --- a/backend/src/services/TicketServices/UpdateTicketService.ts +++ b/backend/src/services/TicketServices/UpdateTicketService.ts @@ -206,7 +206,7 @@ const UpdateTicketService = async ({ ); if (!ticket.isGroup) { - if (transferMessage) { + if (transferMessage?.trim()) { const queueChangedMessage = await wbot.sendMessage( `${ticket.contact.number}@${ ticket.isGroup ? "g.us" : "s.whatsapp.net"