follow me / fedi export only if enabled

This commit is contained in:
les
2020-02-11 16:17:41 +01:00
parent df39f1aeb5
commit b1084a569f
3 changed files with 3 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ const eventController = {
async getUnconfirmed (req, res) {
const events = await Event.findAll({
where: {
parentId: null,
is_visible: false
},
order: [['start_datetime', 'ASC']],