liberacion y obtener servicios especiales listo
This commit is contained in:
@@ -43,6 +43,8 @@ const cartaTermino = async (body, file) => {
|
||||
throw new Error(
|
||||
'Este Servicio Social fue cancelado. Comunicate con COESI para solucionar tu problema.'
|
||||
);
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -42,6 +42,8 @@ const cartaTermino = async (body, file) => {
|
||||
throw new Error(
|
||||
'Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.'
|
||||
);
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -42,6 +42,8 @@ const informeGlobal = async (body, file) => {
|
||||
throw new Error(
|
||||
'Este Servicio Social esta cancelado. Comunicate con COESI para solucionar tu problema.'
|
||||
);
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -44,6 +44,8 @@ const liberacion = async (body) => {
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social esta cancelado.');
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) => Servicio.update(update, { where: { idServicio } }))
|
||||
|
||||
@@ -50,6 +50,8 @@ const cancelar = async (body) => {
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social fue cancelado.');
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -51,6 +51,8 @@ const cancelar = async (body) => {
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social fue cancelado.');
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -51,6 +51,8 @@ const cancelar = async (body) => {
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social fue cancelado.');
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
@@ -39,6 +39,8 @@ const registro = async (body) => {
|
||||
);
|
||||
case 10:
|
||||
throw new Error('Este Servicio Social fue cancelado.');
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
@@ -60,6 +60,8 @@ const registroValidado = async (body) => {
|
||||
throw new Error(
|
||||
'Este Servicio Social fue cancelado. Comunicate con COESI para solucionar tu problema.'
|
||||
);
|
||||
default:
|
||||
throw new Error('Id status no valido.');
|
||||
}
|
||||
})
|
||||
.then((res) =>
|
||||
|
||||
Reference in New Issue
Block a user