add forgotten slug

This commit is contained in:
les
2021-07-27 17:22:47 +02:00
parent 95e740fcea
commit 9e696c5884
2 changed files with 6 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ const exportController = {
const events = await Event.findAll({
order: ['start_datetime'],
attributes: { exclude: ['is_visible', 'recurrent', 'createdAt', 'updatedAt', 'likes', 'boost', 'slug', 'userId', 'placeId'] },
attributes: { exclude: ['is_visible', 'recurrent', 'createdAt', 'likes', 'boost', 'userId', 'placeId'] },
where: {
is_visible: true,
recurrent: { [Op.eq]: null },