build
This commit is contained in:
parent
d5353fdaf1
commit
00f97266e8
4 changed files with 4 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ export const usuarios_quipo = async ({ token_produto, ambiente, tipo, }) => {
|
||||||
return respostaComuns.erro("token_produto não informado");
|
return respostaComuns.erro("token_produto não informado");
|
||||||
const headers = {
|
const headers = {
|
||||||
token: token_produto,
|
token: token_produto,
|
||||||
|
"Content-Type": "application/json",
|
||||||
};
|
};
|
||||||
return node_fetch(url, {
|
return node_fetch(url, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ const usuarios_quipo = async ({ token_produto, ambiente, tipo, }) => {
|
||||||
return p_respostas_1.respostaComuns.erro("token_produto não informado");
|
return p_respostas_1.respostaComuns.erro("token_produto não informado");
|
||||||
const headers = {
|
const headers = {
|
||||||
token: token_produto,
|
token: token_produto,
|
||||||
|
"Content-Type": "application/json",
|
||||||
};
|
};
|
||||||
return (0, cross_fetch_1.default)(url, {
|
return (0, cross_fetch_1.default)(url, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.190.0",
|
"version": "0.191.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ export const usuarios_quipo = async ({
|
||||||
|
|
||||||
const headers = {
|
const headers = {
|
||||||
token: token_produto,
|
token: token_produto,
|
||||||
|
"Content-Type": "application/json",
|
||||||
}
|
}
|
||||||
|
|
||||||
return node_fetch(url, {
|
return node_fetch(url, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue