validar texto
This commit is contained in:
@@ -29,13 +29,15 @@ const update = async (body) => {
|
||||
if (body.institucion)
|
||||
dataUpdate.institucion = validar.validarTexto(
|
||||
body.institucion,
|
||||
'El texto institucion.',
|
||||
'institucion',
|
||||
false,
|
||||
200
|
||||
);
|
||||
if (body.dependencia)
|
||||
dataUpdate.dependencia = validar.validarTexto(
|
||||
body.dependencia,
|
||||
'El texto dependencia.',
|
||||
'dependencia',
|
||||
false,
|
||||
200
|
||||
);
|
||||
if (body.motivo)
|
||||
|
||||
Reference in New Issue
Block a user