This commit is contained in:
David Arranz 2019-09-12 19:42:45 +02:00
parent 2121540882
commit c00006bca9

View File

@ -256,6 +256,8 @@ console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Inscripcion validada');
var NewConfirmedEvent = await eventInscriptionService._getCountInscriptionsWithoutReservationAndOverflow(inscription.eventId);
var marketingListIdOverflow = (await eventService._getEvent(OverflowEventId)).marketing_list;
var marketingListIdEvent = (await eventService._getEvent(inscription.eventId)).marketing_list;
console.log('>>>>>>>>>>>>>>><NewConfirmedOverflow: ', NewConfirmedOverflow);
console.log('>>>>>>>>>>>>>>><NewConfirmedEvent: ', NewConfirmedEvent);
//Actualizamos aforos
if (!await eventService._updateConfirmedEvent(OverflowEventId, NewConfirmedOverflow))