a
This commit is contained in:
parent
354adca8ef
commit
c52a2b7b14
@ -393,7 +393,7 @@ console.log('actualizo confirmados de la nueva reserva');
|
|||||||
//Actualizamos aforo de la lista de espera del evento y creamos inscripcion
|
//Actualizamos aforo de la lista de espera del evento y creamos inscripcion
|
||||||
console.log('evento de lista de espera que debo actulizar sus confirmados>>>>>>>>>>>>>>>>>>>>>', dataInscription.event.overflow_eventId);
|
console.log('evento de lista de espera que debo actulizar sus confirmados>>>>>>>>>>>>>>>>>>>>>', dataInscription.event.overflow_eventId);
|
||||||
console.log('cantidad>>>>>>>>>>>>>>>>>>>>>', dataInscription.inscriptionsWithoutReservationCount);
|
console.log('cantidad>>>>>>>>>>>>>>>>>>>>>', dataInscription.inscriptionsWithoutReservationCount);
|
||||||
if (await eventService._updateConfirmedEvent(dataInscription.event.overflow_eventId, dataInscription.inscriptionsWithoutReservationCount))
|
if (await eventService._updateConfirmedEvent(dataInscription.event.overflow_eventId, dataInscription.inscriptionsWithoutReservationCount)) {
|
||||||
console.log('voy a crearrrrrr la inscripcion');
|
console.log('voy a crearrrrrr la inscripcion');
|
||||||
dataInscription.inscription = await eventInscriptionService._createInscription(dataInscription.event.id,
|
dataInscription.inscription = await eventInscriptionService._createInscription(dataInscription.event.id,
|
||||||
dataUser.userResult.user.id,
|
dataUser.userResult.user.id,
|
||||||
@ -401,7 +401,8 @@ console.log('voy a crearrrrrr la inscripcion');
|
|||||||
dataInscription.validated,
|
dataInscription.validated,
|
||||||
dataInscription.source,
|
dataInscription.source,
|
||||||
null,
|
null,
|
||||||
dataInscription.event.overflow_eventId)
|
dataInscription.event.overflow_eventId);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
return handleResultResponse("No se ha podido actualizar el aforo del evento", null, params, res, httpStatus.NOT_FOUND);
|
return handleResultResponse("No se ha podido actualizar el aforo del evento", null, params, res, httpStatus.NOT_FOUND);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user