.
This commit is contained in:
parent
4f8f53908e
commit
45701265e4
8 changed files with 8 additions and 10 deletions
|
|
@ -25,7 +25,7 @@ const validarToken = ({ ambiente, post, buscar, }) => __awaiter(void 0, void 0,
|
|||
}
|
||||
});
|
||||
const codigoContaSite = ({ ambiente, post, buscar, }) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const url = `${urlAutenticacao(ambiente)}/autenticacao/api/codigo_prefeitura_site`;
|
||||
const url = `${urlAutenticacao(ambiente)}/api/codigo_prefeitura_site`;
|
||||
try {
|
||||
const resp = yield buscar(url, post).catch((e) => respostaComuns.erro(`erro ao buscar código do site: ${e}`));
|
||||
return resp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue