.
This commit is contained in:
parent
bacbd6f8d3
commit
1782457de1
21 changed files with 339 additions and 1544 deletions
|
|
@ -60,16 +60,9 @@ const listarVinculos = async ({
|
|||
const res2 = JSON.parse(texto);
|
||||
return res2;
|
||||
} 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]));
|
||||
})();
|
||||
(0, import_p_comuns.cacheM)(
|
||||
chaveCache,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue