.
This commit is contained in:
parent
bacbd6f8d3
commit
1782457de1
21 changed files with 339 additions and 1544 deletions
|
|
@ -44,9 +44,7 @@ const codigoContaSite = async ({
|
|||
method: "POST",
|
||||
body: JSON.stringify(post),
|
||||
headers: { "Content-Type": "application/json" }
|
||||
}).then((r) => r.json()).catch(
|
||||
(e) => import_p_respostas.respostaComuns.erro("Erro ao enviar registros", [e.message])
|
||||
).then((r) => r);
|
||||
}).then((r) => r.json()).catch((e) => import_p_respostas.respostaComuns.erro("Erro ao enviar registros", [e.message])).then((r) => r);
|
||||
return resp;
|
||||
} catch (e) {
|
||||
return import_p_respostas.respostaComuns.erro(`erro ao buscar c\xF3digo do site: ${e}`);
|
||||
|
|
|
|||
|
|
@ -49,9 +49,7 @@ const usuarios_quipo = async ({
|
|||
method: "POST",
|
||||
body: JSON.stringify({ inquilino }),
|
||||
headers
|
||||
}).then((r) => r.json()).catch(
|
||||
(e) => import_p_respostas.respostaComuns.erro(`Erro ao buscar usu\xE1rios quipo governo ${e.message}`)
|
||||
).then((r) => r);
|
||||
}).then((r) => r.json()).catch((e) => import_p_respostas.respostaComuns.erro(`Erro ao buscar usu\xE1rios quipo governo ${e.message}`)).then((r) => r);
|
||||
};
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
|
|
|
|||
|
|
@ -56,9 +56,7 @@ const usuarios_quipo_vincular = async ({
|
|||
headers,
|
||||
body: JSON.stringify(parametros),
|
||||
method: "POST"
|
||||
}).then(async (r) => await r.json()).catch(
|
||||
(e) => import_p_respostas.respostaComuns.erro(`Erro ao criar vinculo de usuario ${e.message}`)
|
||||
);
|
||||
}).then(async (r) => await r.json()).catch((e) => import_p_respostas.respostaComuns.erro(`Erro ao criar vinculo de usuario ${e.message}`));
|
||||
};
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue