mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
minor
This commit is contained in:
parent
f820c70a25
commit
bdfda5953b
1 changed files with 3 additions and 1 deletions
|
@ -69,9 +69,11 @@ router.post('/u/:name/inbox', Helpers.verifySignature, async (req, res) => {
|
|||
break
|
||||
case 'Create':
|
||||
// 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)
|
||||
} else {
|
||||
// await Resources.create(req, res)
|
||||
debug('Create with unsupported Object or not a reply => %s ', b.object.type)
|
||||
}
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue