.
This commit is contained in:
parent
f13093f224
commit
5af71ea9d9
@ -298,7 +298,6 @@ function verify(req, res, next) {
|
||||
async function getOrCreateUser(req, res, next) {
|
||||
const params = controllerHelper.extractParamsFromRequest(req, res, {});
|
||||
let dataInscription = res.locals.dataInscription;
|
||||
console.log('getOrCreateUser>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', dataInscription);
|
||||
if (!dataInscription)
|
||||
return controllerHelper.handleResultResponse(
|
||||
"Error getOrCreateUser, prepareDataInscription, recuperateReservationByCode requerida",
|
||||
|
||||
@ -118,7 +118,8 @@ const extraMethods = {
|
||||
//solo se llama desde formualario WEB nuevo
|
||||
_getOrCreateUserWEBV4: async (dataUser, req) => {
|
||||
let result = null;
|
||||
|
||||
console.log('1_getOrCreateUserWEBV4>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', dataUser);
|
||||
console.log('2_getOrCreateUserWEBV4>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', req);
|
||||
dataUser = {
|
||||
name: req.body.name ? req.body.name : null,
|
||||
surname: req.body.surname ? req.body.surname : null,
|
||||
|
||||
@ -257,9 +257,8 @@ const extraControllers = {
|
||||
res,
|
||||
httpStatus.NOT_FOUND
|
||||
);
|
||||
|
||||
console.log(">>>>>>>>>>>>>>>>>>>> recuperateReservationByCode", dataInscription.type);
|
||||
|
||||
console.log(">>>>>>>>>>>>>>>>>>>> recuperateReservationByCode", dataInscription.type);
|
||||
|
||||
//SI VIENE CODIGO DE RESERVA, RECUPERAMOS LA RESERVA Y EL EVENTO
|
||||
if (dataInscription.reservationCode) {
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user