diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-29 15:17:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-29 15:17:42 +0100 |
commit | 75ba887d10eacb9cd1392e62f68617c7643c9add (patch) | |
tree | ab8e76cb3239e4a365ded4e65028e91479fc1e57 /server/controllers/activitypub/inbox.ts | |
parent | 0bc1b31d60ed0edf3999f51743b653068ef1816e (diff) | |
download | PeerTube-75ba887d10eacb9cd1392e62f68617c7643c9add.tar.gz PeerTube-75ba887d10eacb9cd1392e62f68617c7643c9add.tar.zst PeerTube-75ba887d10eacb9cd1392e62f68617c7643c9add.zip |
Don't log error on actor delete signature error
Diffstat (limited to 'server/controllers/activitypub/inbox.ts')
-rw-r--r-- | server/controllers/activitypub/inbox.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts index ca42106b8..4fb180003 100644 --- a/server/controllers/activitypub/inbox.ts +++ b/server/controllers/activitypub/inbox.ts | |||
@@ -50,7 +50,7 @@ const inboxQueue = queue<QueueParam, Error>((task, cb) => { | |||
50 | 50 | ||
51 | function inboxController (req: express.Request, res: express.Response) { | 51 | function inboxController (req: express.Request, res: express.Response) { |
52 | const rootActivity: RootActivity = req.body | 52 | const rootActivity: RootActivity = req.body |
53 | let activities: Activity[] = [] | 53 | let activities: Activity[] |
54 | 54 | ||
55 | if ([ 'Collection', 'CollectionPage' ].indexOf(rootActivity.type) !== -1) { | 55 | if ([ 'Collection', 'CollectionPage' ].indexOf(rootActivity.type) !== -1) { |
56 | activities = (rootActivity as ActivityPubCollection).items | 56 | activities = (rootActivity as ActivityPubCollection).items |