.
This commit is contained in:
parent
46d1880cef
commit
ba356d2827
4 changed files with 4 additions and 8 deletions
|
|
@ -35,11 +35,10 @@ export const serie_consultar = ({ emDesenvolvimento, cliente, parametros, }) =>
|
||||||
cliente,
|
cliente,
|
||||||
parametros,
|
parametros,
|
||||||
};
|
};
|
||||||
const pr64 = btoa(JSON.stringify(pr, null, 2));
|
|
||||||
const vUrl = new URL(`${emDesenvolvimento
|
const vUrl = new URL(`${emDesenvolvimento
|
||||||
? "http://127.0.0.1:5081"
|
? "http://127.0.0.1:5081"
|
||||||
: "https://carro-de-boi.idz.one"}${PREFIXO}/${tiposSeriesAgregacoes.enum.contagem}`);
|
: "https://carro-de-boi.idz.one"}${PREFIXO}/${tiposSeriesAgregacoes.enum.contagem}`);
|
||||||
vUrl.searchParams.append("serie", pr64);
|
vUrl.searchParams.append("serie", JSON.stringify(pr, null, 2));
|
||||||
return vUrl.href;
|
return vUrl.href;
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -79,11 +79,10 @@ var serie_consultar = function (_a) {
|
||||||
cliente: cliente,
|
cliente: cliente,
|
||||||
parametros: parametros,
|
parametros: parametros,
|
||||||
};
|
};
|
||||||
var pr64 = btoa(JSON.stringify(pr, null, 2));
|
|
||||||
var vUrl = new URL("".concat(emDesenvolvimento
|
var vUrl = new URL("".concat(emDesenvolvimento
|
||||||
? "http://127.0.0.1:5081"
|
? "http://127.0.0.1:5081"
|
||||||
: "https://carro-de-boi.idz.one").concat(_variaveis_1.PREFIXO, "/").concat(_variaveis_1.tiposSeriesAgregacoes.enum.contagem));
|
: "https://carro-de-boi.idz.one").concat(_variaveis_1.PREFIXO, "/").concat(_variaveis_1.tiposSeriesAgregacoes.enum.contagem));
|
||||||
vUrl.searchParams.append("serie", pr64);
|
vUrl.searchParams.append("serie", JSON.stringify(pr, null, 2));
|
||||||
return vUrl.href;
|
return vUrl.href;
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.78.0",
|
"version": "0.79.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,6 @@ export const serie_consultar = ({
|
||||||
parametros,
|
parametros,
|
||||||
}
|
}
|
||||||
|
|
||||||
const pr64 = btoa(JSON.stringify(pr, null, 2))
|
|
||||||
|
|
||||||
const vUrl = new URL(
|
const vUrl = new URL(
|
||||||
`${
|
`${
|
||||||
emDesenvolvimento
|
emDesenvolvimento
|
||||||
|
|
@ -70,7 +68,7 @@ export const serie_consultar = ({
|
||||||
}${PREFIXO}/${tiposSeriesAgregacoes.enum.contagem}`,
|
}${PREFIXO}/${tiposSeriesAgregacoes.enum.contagem}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
vUrl.searchParams.append("serie", pr64)
|
vUrl.searchParams.append("serie", JSON.stringify(pr, null, 2))
|
||||||
|
|
||||||
return vUrl.href
|
return vUrl.href
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue