Skip to content

Commit

Permalink
fix saving messages sent directly by whatsapp device
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Jan 21, 2025
1 parent bcf4c79 commit 4858e01
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend/src/helpers/Mustache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export function formatBody(
ms = "Boa madrugada";
}

const setor =
ticket?.queueId === undefined || ticket.queueId === null
? ""
: ticket.queue.name;
const setor = ticket?.queue?.name || "";

const usuario =
ticket?.userId === undefined || ticket.userId === null
Expand Down

0 comments on commit 4858e01

Please sign in to comment.