db tamaños de strings mejorados

This commit is contained in:
2020-11-17 17:27:12 -06:00
parent 6ff3720f32
commit 1caa2017c0
11 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -18,10 +18,10 @@ const get = (body) => {
{ model: Programa },
],
}).then((res) => {
if (!res) throw new Error('No existe este servicio social.');
return {
idServicio: res.idServicio,
creditos: res.creditos,
nombre: res.nombre,
correo: res.correo,
telefono: res.telefono,
direccion: res.direccion,