a
This commit is contained in:
parent
7ae05f30c4
commit
6e9372d23b
@ -30,6 +30,11 @@ const extraMethods = {
|
|||||||
where: {
|
where: {
|
||||||
userId: userId
|
userId: userId
|
||||||
},
|
},
|
||||||
|
include: [{
|
||||||
|
model: models.Event,
|
||||||
|
as: 'event',
|
||||||
|
attributes: ['name', 'description', 'init_date', 'campaign_text'],
|
||||||
|
}],
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user