aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/activitypub/inbox.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts
index 73fbd94aa..a106df717 100644
--- a/server/controllers/activitypub/inbox.ts
+++ b/server/controllers/activitypub/inbox.ts
@@ -36,8 +36,6 @@ async function inboxController (req: express.Request, res: express.Response, nex
36 const rootActivity: RootActivity = req.body 36 const rootActivity: RootActivity = req.body
37 let activities: Activity[] = [] 37 let activities: Activity[] = []
38 38
39 console.log(rootActivity)
40
41 if ([ 'Collection', 'CollectionPage' ].indexOf(rootActivity.type) !== -1) { 39 if ([ 'Collection', 'CollectionPage' ].indexOf(rootActivity.type) !== -1) {
42 activities = (rootActivity as ActivityPubCollection).items 40 activities = (rootActivity as ActivityPubCollection).items
43 } else if ([ 'OrderedCollection', 'OrderedCollectionPage' ].indexOf(rootActivity.type) !== -1) { 41 } else if ([ 'OrderedCollection', 'OrderedCollectionPage' ].indexOf(rootActivity.type) !== -1) {