minor
This commit is contained in:
@@ -69,9 +69,11 @@ router.post('/u/:name/inbox', Helpers.verifySignature, async (req, res) => {
|
|||||||
break
|
break
|
||||||
case 'Create':
|
case 'Create':
|
||||||
// this is a reply
|
// this is a reply
|
||||||
if (b.object.type === 'Note' && b.object.inReplyTo) {
|
if (b.object.type === 'Note') {
|
||||||
|
debug('Create a resource!')
|
||||||
await Resources.create(req, res)
|
await Resources.create(req, res)
|
||||||
} else {
|
} else {
|
||||||
|
// await Resources.create(req, res)
|
||||||
debug('Create with unsupported Object or not a reply => %s ', b.object.type)
|
debug('Create with unsupported Object or not a reply => %s ', b.object.type)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user