This commit is contained in:
David Arranz 2019-09-12 13:54:58 +02:00
parent c5473233d5
commit e421ad9cf0

View File

@ -182,8 +182,8 @@ console.log(inscription);
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Inscripcion validada');
var NewConfirmedOverflow = await eventInscriptionService._getCountInscriptionsWithOverflowEventId(OverflowEventId);
var NewConfirmedEvent = await eventInscriptionService._getCountInscriptionsWithoutReservationAndOverflow(inscription.eventId);
marketingListIdOverflow = (await eventService._getEvent(OverflowEventId)).marketing_list;
marketingListIdEvent = (await eventService._getEvent(inscription.eventId)).marketing_list;
var marketingListIdOverflow = (await eventService._getEvent(OverflowEventId)).marketing_list;
var marketingListIdEvent = (await eventService._getEvent(inscription.eventId)).marketing_list;
if (!await eventService._updateConfirmedEvent(OverflowEventId, NewConfirmedOverflow))
return handleResultResponse("Error al validad inscripción, no puedo cambiar confirmados a la lista de espera", null, params, res, httpStatus.NOT_FOUND);