This commit is contained in:
les
2019-08-09 00:19:57 +02:00
parent bb32611e73
commit e96880fc92
4 changed files with 10 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ router.post('/u/:name/inbox', Helpers.verifySignature, async (req, res) => {
// this is a reply
if (b.object.type === 'Note' && b.object.inReplyTo) {
await Comments.create(b)
res.sendStatus(201)
res.status(201).send()
} else {
console.error('Create what? ', b.object.type)
}