.
This commit is contained in:
parent
7b557f82a8
commit
a7b2eb1dba
@ -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
|
//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
|
// en caso de online no afectará a los aforos
|
||||||
///////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////
|
||||||
@ -307,6 +307,10 @@ const extraControllers = {
|
|||||||
if (!dataInscription || !dataInscription.event)
|
if (!dataInscription || !dataInscription.event)
|
||||||
return handleResultResponse("Error prepareDataInscription requerida", null, params, res, httpStatus.NOT_FOUND);
|
return handleResultResponse("Error prepareDataInscription requerida", null, params, res, httpStatus.NOT_FOUND);
|
||||||
|
|
||||||
|
console.log(">>>>>>>>>>>>>>>>>>>> createInscription (dataInscription)");
|
||||||
|
console.log(dataInscription);
|
||||||
|
|
||||||
|
|
||||||
let dataUser = res.locals.dataUser;
|
let dataUser = res.locals.dataUser;
|
||||||
if (!dataUser)
|
if (!dataUser)
|
||||||
return handleResultResponse("Error getOrCreateUser requerida", null, params, res, httpStatus.NOT_FOUND);
|
return handleResultResponse("Error getOrCreateUser requerida", null, params, res, httpStatus.NOT_FOUND);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user