From 0dd318c715dbb08a177acb1dc9d8e605debc5175 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 30 Aug 2019 17:35:52 +0200 Subject: [PATCH] a --- modules/events/event.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/events/event.controller.js b/modules/events/event.controller.js index d91c01d..6501188 100644 --- a/modules/events/event.controller.js +++ b/modules/events/event.controller.js @@ -170,10 +170,12 @@ console.log('Tengo reservation>>>>>>>>>>>>>>>>>>', inscription.reservationId); //Actualizamos aforo del evento o de la reserva if (inscription.reservationId){ +console.log('>>>>>>>>>>>>>>Voy a actualizar aforo reserva'); if (!await eventReservationService._updateConfirmedReservation(EventOrReservationChangeId, NewConfirmed)) return handleResultResponse("Error al eliminar inscripción, no puedo cambiar confirmados a la reserva asociada", null, params, res, httpStatus.NOT_FOUND); } else { +console.log('>>>>>>>>>>>>>>Voy a actualizar aforo evento'); if (!await eventService._updateConfirmedEvent(EventOrReservationChangeId, NewConfirmed)) return handleResultResponse("Error al eliminar inscripción, no puedo cambiar confirmados a la inscripcion", null, params, res, httpStatus.NOT_FOUND);