fix: Event activity endpoint with deleted actor

closes #1061
This commit is contained in:
Tom Moor
2019-10-12 13:03:50 -07:00
parent e33aaec469
commit 2d913e3766
2 changed files with 25 additions and 0 deletions

View File

@ -44,6 +44,7 @@ router.post('events.list', auth(), pagination(), async ctx => {
{
model: User,
as: 'actor',
paranoid: false,
},
],
offset: ctx.state.pagination.offset,