.
This commit is contained in:
parent
49043d0f3e
commit
2f5eff0c0f
@ -35,7 +35,7 @@ function sendTicket(header, values) {
|
||||
},
|
||||
],*/
|
||||
};
|
||||
console.log('>>>>>>>>>>>>>>>>>>><<SendTicket>>>', body);
|
||||
//console.log('>>>>>>>>>>>>>>>>>>><<SendTicket>>>', body);
|
||||
return sendinblueHelper.sendEmailTransactional(header, body);
|
||||
}
|
||||
|
||||
|
||||
@ -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: [
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user