[fix] fedi followers

This commit is contained in:
les
2019-12-06 00:49:44 +01:00
parent 6de9ff8f74
commit 298b03421c
6 changed files with 27 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ const notifier = {
},
async notifyEvent (action, eventId) {
const event = await Event.findByPk(eventId, {
include: [ Tag, Place, Notification, { model: User, include: { model: APUser, as: 'followers' } } ]
include: [ Tag, Place, Notification, { model: User } ]
})
debug('%s -> %s', action, event.title)