using cuestionario2 has atribute, create credentials for testing
This commit is contained in:
@@ -78,13 +78,19 @@ const registroValidado = async (body) => {
|
||||
gmail(correoResponsable.subject, emailResponsable, correoResponsable.msj)
|
||||
)
|
||||
.then((res) =>
|
||||
Servicio.update(
|
||||
{
|
||||
|
||||
let tempStatus = 3
|
||||
if (process.env.MODE == "pruebas") tempStatus = 4
|
||||
|
||||
return Servicio.update(
|
||||
// Producción
|
||||
{ idStatus: 3, direccion, telefono, fechaNacimiento },
|
||||
// { idStatus: 3, direccion, telefono, fechaNacimiento },
|
||||
// Pruebas
|
||||
// { idStatus: 4, direccion, telefono, fechaNacimiento },
|
||||
{ idStatus: tempStatus, direccion, telefono, fechaNacimiento },
|
||||
{ where: { idServicio } }
|
||||
)
|
||||
}
|
||||
)
|
||||
.then((res) => ({
|
||||
message: 'Haz terminado el registro de tu Servicio Social correctamente.',
|
||||
|
||||
Reference in New Issue
Block a user