From 73f4298575dc01cdd730bd6588933596c78427bf Mon Sep 17 00:00:00 2001 From: david Date: Sun, 21 Jul 2019 18:58:58 +0200 Subject: [PATCH] a --- modules/events/event.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/events/event.controller.js b/modules/events/event.controller.js index e47e936..efa9c12 100644 --- a/modules/events/event.controller.js +++ b/modules/events/event.controller.js @@ -134,7 +134,7 @@ const extraControllers = { validated: null, //si no esta validado la inscripción es a la lista de espera inscriptionsWithoutReservationCount: null, //nº total de inscritos sin reserva asignada inscriptionsWithReservationCount: null, //nº total de inscritos a la reserva asignada - type : (req.body.code) ? 'reserva' : 'libre', + type : (req.body.code) ? 'reservation' : 'regular', } //SI VIENE CODIGO DE RESERVA, RECUPERAMOS LA RESERVA Y EL EVENTO