Skip to content

Commit

Permalink
FindOrCreateTicketService.ts: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Jul 6, 2024
1 parent 67aa41c commit 65cde63
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ const FindOrCreateTicketService = async (
ticketId: ticket.id,
companyId,
whatsappId: ticket.whatsappId,
userId: ticket.userId,
userId: ticket.userId
});
}
const msgIsGroupBlock = await Setting.findOne({
where: { key: "timeCreateNewTicket" }
});

const value = msgIsGroupBlock ? parseInt(msgIsGroupBlock.value, 10) : 7200;
}

Expand Down Expand Up @@ -106,7 +106,6 @@ const FindOrCreateTicketService = async (
whatsappId,
userId: ticket.userId
});

} else {
await ticket.update({ whatsappId });
}
Expand Down

0 comments on commit 65cde63

Please sign in to comment.