Salvando alterações antes de iplementar o Agendamento ao final do atendimento

pull/1/head
adriano 2022-02-26 14:16:31 -03:00
parent ccfa108e6e
commit e5f75cf0be
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ const TicketActionButtons = ({ ticket }) => {
};
const handleUpdateTicketStatus = async (e, status, userId) => {
setLoading(true);
try {
await api.put(`/tickets/${ticket.id}`, {