aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/activitypub/inbox.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts
index 38d5c51df..2d3eef222 100644
--- a/server/controllers/activitypub/inbox.ts
+++ b/server/controllers/activitypub/inbox.ts
@@ -7,6 +7,7 @@ import { asyncMiddleware, checkSignature, localAccountValidator, localVideoChann
7import { activityPubValidator } from '../../middlewares/validators/activitypub/activity' 7import { activityPubValidator } from '../../middlewares/validators/activitypub/activity'
8import { queue } from 'async' 8import { queue } from 'async'
9import { ActorModel } from '../../models/activitypub/actor' 9import { ActorModel } from '../../models/activitypub/actor'
10import { SignatureActorModel } from '../../typings/models'
10 11
11const inboxRouter = express.Router() 12const inboxRouter = express.Router()
12 13
@@ -40,7 +41,7 @@ export {
40 41
41// --------------------------------------------------------------------------- 42// ---------------------------------------------------------------------------
42 43
43const inboxQueue = queue<{ activities: Activity[], signatureActor?: ActorModel, inboxActor?: ActorModel }, Error>((task, cb) => { 44const inboxQueue = queue<{ activities: Activity[], signatureActor?: SignatureActorModel, inboxActor?: ActorModel }, Error>((task, cb) => {
44 const options = { signatureActor: task.signatureActor, inboxActor: task.inboxActor } 45 const options = { signatureActor: task.signatureActor, inboxActor: task.inboxActor }
45 46
46 processActivities(task.activities, options) 47 processActivities(task.activities, options)