This commit is contained in:
Luiz H. R. Silva 2024-06-19 19:10:49 -03:00
parent ba356d2827
commit 6720f8e73a
4 changed files with 8 additions and 4 deletions

View file

@ -38,7 +38,8 @@ export const serie_consultar = ({ emDesenvolvimento, cliente, parametros, }) =>
const vUrl = new URL(`${emDesenvolvimento
? "http://127.0.0.1:5081"
: "https://carro-de-boi.idz.one"}${PREFIXO}/${tiposSeriesAgregacoes.enum.contagem}`);
vUrl.searchParams.append("serie", JSON.stringify(pr, null, 2));
const serie = encodeURIComponent(JSON.stringify(pr, null, 2));
vUrl.searchParams.append("serie", serie);
return vUrl.href;
};
return {