This commit is contained in:
Lemuel Marquez
2021-01-12 21:09:37 -06:00
parent 2a0f649f59
commit fc77a4d755
16 changed files with 1334 additions and 125 deletions
-2
View File
@@ -14,12 +14,10 @@ const liberacion = async (body) => {
})
.then(async (res) => {
if (!res) throw new Error('No existe este Servicio Social.');
if (res.Programa.acatlan && !body.vistoBuenoAcatlan)
throw new Error(
'El programa de este Servicio Solcial es Acatlán Contigo y no se envio la variable validando este servicio.'
);
switch (res.idStatus) {
case 5:
let correo = correos.terminoValidado(res.Usuario.nombre);