From d2e27c02af6d7ba08cf7468bd581ebfb6a8cff23 Mon Sep 17 00:00:00 2001 From: David Arranz Date: Thu, 6 Jul 2023 18:47:33 +0200 Subject: [PATCH] Arreglo error reserva CA (centro aliado) --- modules/events/events_reservations.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/events/events_reservations.controller.js b/modules/events/events_reservations.controller.js index 0926242..b918f43 100644 --- a/modules/events/events_reservations.controller.js +++ b/modules/events/events_reservations.controller.js @@ -47,9 +47,9 @@ async function activeReservation(reservation) { reservation.state = "publish"; //Finalmente hay que validar la inscripción del tutor - if ((await eventInscriptionService._validateInscriptionTutorOfReservation(reservation.id, reservation.userId)) <= 0) { - console.log("No se ha podido validar la inscripción del tutor"); - return null; + if ((await eventInscriptionService._validateInscriptionTutorOfReservation(reservation.id, reservation.userId)) <= 0) { + console.log("No se ha podido validar la inscripción del tutor por ser de un centro aliado se hace a posteriori en este caso"); +// return null; } console.log('reservation.userId>>>>>> ', reservation.userId);