validar texto

This commit is contained in:
xXpuma99Xx
2022-01-02 15:27:30 -06:00
parent 9b153520e8
commit 0b04777c0c
9 changed files with 18 additions and 12 deletions
@@ -16,7 +16,7 @@ const serviciosResponsable = async (body) => {
: { idStatus: { [Op.ne]: 10 } };
const nombre = body.nombre
? validar.validarTexto(body.nombre, 'El nombre', 60)
? validar.validarTexto(body.nombre, 'nombre', true, 60)
: '';
const numeroCuenta = body.numeroCuenta
? validar.validarNumeroCuenta(body.numeroCuenta)