aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-30 16:34:47 +0200
committerChocobozzz <me@florianbigard.com>2018-07-30 16:34:47 +0200
commit05882211077a30e27ebbb79baff0cf8fb87b7ae2 (patch)
treeb2139b0d125b994796667418d8a0d4fc4de0fe5c /server/controllers
parentc5a893d5363ce1fd681751cf48977086a35d5724 (diff)
downloadPeerTube-05882211077a30e27ebbb79baff0cf8fb87b7ae2.tar.gz
PeerTube-05882211077a30e27ebbb79baff0cf8fb87b7ae2.tar.zst
PeerTube-05882211077a30e27ebbb79baff0cf8fb87b7ae2.zip
Remove kue migration
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) {