This commit is contained in:
andreLMpena 2024-12-02 16:40:06 -03:00
parent d5353fdaf1
commit 00f97266e8
4 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,7 @@ export const usuarios_quipo = async ({ token_produto, ambiente, tipo, }) => {
return respostaComuns.erro("token_produto não informado");
const headers = {
token: token_produto,
"Content-Type": "application/json",
};
return node_fetch(url, {
method: "POST",

View file

@ -13,6 +13,7 @@ const usuarios_quipo = async ({ token_produto, ambiente, tipo, }) => {
return p_respostas_1.respostaComuns.erro("token_produto não informado");
const headers = {
token: token_produto,
"Content-Type": "application/json",
};
return (0, cross_fetch_1.default)(url, {
method: "POST",

View file

@ -1,6 +1,6 @@
{
"name": "p-drives",
"version": "0.190.0",
"version": "0.191.0",
"description": "",
"main": "src/index.ts",
"exports": {

View file

@ -30,6 +30,7 @@ export const usuarios_quipo = async ({
const headers = {
token: token_produto,
"Content-Type": "application/json",
}
return node_fetch(url, {