Update metodos.js
This commit is contained in:
parent
8a9ea5f693
commit
2f0726ae1e
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user