error al resubir pdf
This commit is contained in:
@@ -44,11 +44,16 @@ const informeGlobal = async (body, file) => {
|
||||
'Este Servicio Social se encuentra rechazado. No se puede avanzar hasta que se corriga lo necesario.'
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.');
|
||||
throw new Error(
|
||||
'Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.'
|
||||
);
|
||||
}
|
||||
})
|
||||
.then((res) => {
|
||||
return Servicio.update({ informeGlobal: res }, { where: { idServicio } });
|
||||
return Servicio.update(
|
||||
{ informeGlobal: res, idStatus: 5 },
|
||||
{ where: { idServicio } }
|
||||
);
|
||||
})
|
||||
.then(async (res) => {
|
||||
return validar.validarPreTermino(idServicio);
|
||||
|
||||
Reference in New Issue
Block a user