.
This commit is contained in:
parent
5011034f75
commit
2d11211c99
4 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ export const serie_consultar = (cliente) => (parametros) => {
|
||||||
return resp;
|
return resp;
|
||||||
});
|
});
|
||||||
const url = () => {
|
const url = () => {
|
||||||
const vUrl = new URL(`${urlPilao(cliente.emDesenvolvimento).api}/${tiposSeriesAgregacoes.enum.contagem}/${cliente.produto}/${cliente.conta}`);
|
const vUrl = new URL(`${urlPilao(cliente.emDesenvolvimento).site}/${tiposSeriesAgregacoes.enum.contagem}/${cliente.produto}/${cliente.conta}`);
|
||||||
const serie = encodeURIComponent(JSON.stringify(parametros, null, 2));
|
const serie = encodeURIComponent(JSON.stringify(parametros, null, 2));
|
||||||
return `${vUrl.href}?serie=${serie}`;
|
return `${vUrl.href}?serie=${serie}`;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ var serie_consultar = function (cliente) {
|
||||||
});
|
});
|
||||||
}); };
|
}); };
|
||||||
var url = function () {
|
var url = function () {
|
||||||
var vUrl = new URL("".concat((0, variaveis_1.urlPilao)(cliente.emDesenvolvimento).api, "/").concat(variaveis_1.tiposSeriesAgregacoes.enum.contagem, "/").concat(cliente.produto, "/").concat(cliente.conta));
|
var vUrl = new URL("".concat((0, variaveis_1.urlPilao)(cliente.emDesenvolvimento).site, "/").concat(variaveis_1.tiposSeriesAgregacoes.enum.contagem, "/").concat(cliente.produto, "/").concat(cliente.conta));
|
||||||
var serie = encodeURIComponent(JSON.stringify(parametros, null, 2));
|
var serie = encodeURIComponent(JSON.stringify(parametros, null, 2));
|
||||||
return "".concat(vUrl.href, "?serie=").concat(serie);
|
return "".concat(vUrl.href, "?serie=").concat(serie);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.110.0",
|
"version": "0.111.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ export const serie_consultar =
|
||||||
|
|
||||||
const url = (): string => {
|
const url = (): string => {
|
||||||
const vUrl = new URL(
|
const vUrl = new URL(
|
||||||
`${urlPilao(cliente.emDesenvolvimento).api}/${tiposSeriesAgregacoes.enum.contagem}/${cliente.produto}/${cliente.conta}`,
|
`${urlPilao(cliente.emDesenvolvimento).site}/${tiposSeriesAgregacoes.enum.contagem}/${cliente.produto}/${cliente.conta}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
const serie = encodeURIComponent(JSON.stringify(parametros, null, 2))
|
const serie = encodeURIComponent(JSON.stringify(parametros, null, 2))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue