.
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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue