keep going with federation

This commit is contained in:
lesion
2019-08-03 00:48:48 +02:00
parent 9b2015f46f
commit 202e59c1bc
4 changed files with 13 additions and 9 deletions

View File

@@ -14,11 +14,12 @@ module.exports = {
return console.error('event not found!')
}
await Comment.create({
return await Comment.create({
activitypub_id: body.object.id,
data: body.object,
eventId: event.id
})
}
}