This commit is contained in:
David Arranz 2019-09-11 16:19:22 +02:00
parent c4067fc447
commit 568aca392d

View File

@ -40,7 +40,8 @@ const extraMethods = {
_getEvent: (eventId) => {
return models.Event.findOne({
where: {
id: eventId
id: eventId,
typeId: { [Sequelize.Op.ne]: null }
}
});
},