Update metodos.js

This commit is contained in:
Victor Sanchez Sosa 2024-02-09 15:31:51 -05:00
parent 8a9ea5f693
commit 2f0726ae1e

View File

@ -644,7 +644,7 @@ async function Fun_ConsultarClavesCatastrales(agent, req, res, _cedula = null, n
_cedula = data_context.cedula;
}
const regex = /^[0-9]*$/;
_cedula = _cedula.replace(/-/g, "");
// _cedula = _cedula.replace(/-/g, "");
if (regex.test(_cedula)) {
let legion = await funcion.ConsultaClaves(_cedula, nuevo);
if (legion['ok'] == true) {