.
This commit is contained in:
parent
bacbd6f8d3
commit
1782457de1
21 changed files with 339 additions and 1544 deletions
|
|
@ -46,14 +46,9 @@ const listarPrefeituras = async ({
|
|||
const res = JSON.parse(texto);
|
||||
return res;
|
||||
} catch (error) {
|
||||
return import_p_respostas.respostaComuns.erro(`Erro ao listar cidades: ${error.message}`, [
|
||||
texto,
|
||||
error
|
||||
]);
|
||||
return import_p_respostas.respostaComuns.erro(`Erro ao listar cidades: ${error.message}`, [texto, error]);
|
||||
}
|
||||
}).catch(
|
||||
(error) => import_p_respostas.respostaComuns.erro(`Erro ao listar cidades: ${error.message}`, [error])
|
||||
);
|
||||
}).catch((error) => import_p_respostas.respostaComuns.erro(`Erro ao listar cidades: ${error.message}`, [error]));
|
||||
};
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue