This commit is contained in:
David Arranz 2025-02-20 18:53:27 +01:00
parent 49043d0f3e
commit 2f5eff0c0f
3 changed files with 2 additions and 11 deletions

View File

@ -35,7 +35,7 @@ function sendTicket(header, values) {
},
],*/
};
console.log('>>>>>>>>>>>>>>>>>>><<SendTicket>>>', body);
//console.log('>>>>>>>>>>>>>>>>>>><<SendTicket>>>', body);
return sendinblueHelper.sendEmailTransactional(header, body);
}

View File

@ -497,14 +497,6 @@ module.exports = function (sequelize, DataTypes) {
},
});
Event.addScope("withSevilla", {
where: {
id: {
[Sequelize.Op.eq]: "f1aa418a-d196-11ef-8ecf-000c29a89113",
},
},
});
Event.addScope("CitiesOfEvents", () => {
return {
include: [

View File

@ -107,8 +107,7 @@ routes.get(
}),
(req, res, next) => {
//const scopes = ["defaultScope", "withOpenInscriptions"];
const scopes = ["defaultScope", "withSevilla"];
const scopes = ["defaultScope", "withOpenInscriptions"];
res.locals.v4 = { removeFields: ["partners", "speakers", "details", "multimedias", "type"] };
return eventController.find({ scopes })(req, res, next);
}