diff --git a/modules/events/events_inscriptions.controller.js b/modules/events/events_inscriptions.controller.js index 239d027..1a5c196 100644 --- a/modules/events/events_inscriptions.controller.js +++ b/modules/events/events_inscriptions.controller.js @@ -295,7 +295,7 @@ const extraControllers = { }, /////////////////////////////////////////////////////////////////// - //Esta función se llama solo desde APP + //Esta función se llama solo desde APP y WEB //Inscripción sin CODIGO DE RESERVA, SE MODIFICA EL CONFIRMED DEL EVENTO, YA QUE SE DESCONTARA DEL AFORO DEL EVENTO // en caso de online no afectará a los aforos /////////////////////////////////////////////////////////////////// @@ -307,6 +307,10 @@ const extraControllers = { if (!dataInscription || !dataInscription.event) return handleResultResponse("Error prepareDataInscription requerida", null, params, res, httpStatus.NOT_FOUND); + console.log(">>>>>>>>>>>>>>>>>>>> createInscription (dataInscription)"); + console.log(dataInscription); + + let dataUser = res.locals.dataUser; if (!dataUser) return handleResultResponse("Error getOrCreateUser requerida", null, params, res, httpStatus.NOT_FOUND);