novas atualizacoes
This commit is contained in:
@@ -277,7 +277,7 @@ class FechamentoFechamentosService {
|
||||
|
||||
async reabrirFechamento(
|
||||
fechamentoId: string,
|
||||
input: { reabertoPorId: string; motivo?: string },
|
||||
input: { reabertoPorId: string; motivo: string },
|
||||
): Promise<FechamentoReabertoResponse> {
|
||||
try {
|
||||
const headers = await buildCommanderHeaders();
|
||||
@@ -286,7 +286,7 @@ class FechamentoFechamentosService {
|
||||
`${baseUrl}/fechamentos/${fechamentoId}/reabrir`,
|
||||
{
|
||||
reaberto_por_id: input.reabertoPorId,
|
||||
...(input.motivo?.trim() ? { motivo: input.motivo.trim() } : {}),
|
||||
motivo: input.motivo.trim(),
|
||||
},
|
||||
{ headers },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user