This commit is contained in:
lesion 2022-06-19 23:52:10 +02:00
parent d6f647ccd2
commit 20524e92c0
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -68,6 +68,8 @@ module.exports = {
const Event = require('./server/api/models/event')
const events = await Event.findAll({where: { is_visible: true }})
return events.map(e => `/event/${e.slug}`)
} else {
return []
}
}
},