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
+1 -1
View File
@@ -29,7 +29,7 @@ const nuevo = async (body, file) => {
)
: '';
const profesor = body.profesor
? validar.validarTexto(body.profesor, 'El texto de profesor.', 50)
? validar.validarTexto(body.profesor, 'profesor', true, 50)
: '';
let carpeta = '';