Skip to content

Commit

Permalink
Merge pull request #2414 from prefeiturasp/merge-feat-33159-em-hom
Browse files Browse the repository at this point in the history
Merge feat 33159 em hom
  • Loading branch information
mdiori authored May 16, 2024
2 parents 303ef66 + 79c2c7b commit 9aca19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/componentes/Globais/ArquivosDeCarga/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ const ArquivosDeCarga = () => {
'status': 'PENDENTE',
'conteudo': values.conteudo,
};
if(verificaSeArquivoRequerPeriodo()) {
if(url_params.tipo_de_carga === 'REPASSE_PREVISTO') {
payload.periodo = values.periodo;
};
}
await postCreateArquivoDeCarga(payload);
console.log("Arquivo de carga criado com sucesso");
setShowModalForm(false);
Expand Down

0 comments on commit 9aca19e

Please sign in to comment.