validar texto
This commit is contained in:
@@ -13,7 +13,7 @@ const serviciosAdmin = async (body) => {
|
||||
? { idStatus: validar.validarNumeroEntero(body.idStatus, 'id status') }
|
||||
: {};
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user