diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/activitypub/inbox.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts index 8d65639f8..bd0d7a9c8 100644 --- a/server/controllers/activitypub/inbox.ts +++ b/server/controllers/activitypub/inbox.ts | |||
@@ -12,7 +12,7 @@ const inboxRouter = express.Router() | |||
12 | inboxRouter.post('/inbox', | 12 | inboxRouter.post('/inbox', |
13 | signatureValidator, | 13 | signatureValidator, |
14 | asyncMiddleware(checkSignature), | 14 | asyncMiddleware(checkSignature), |
15 | activityPubValidator, | 15 | asyncMiddleware(activityPubValidator), |
16 | asyncMiddleware(inboxController) | 16 | asyncMiddleware(inboxController) |
17 | ) | 17 | ) |
18 | 18 | ||
@@ -20,7 +20,7 @@ inboxRouter.post('/accounts/:name/inbox', | |||
20 | signatureValidator, | 20 | signatureValidator, |
21 | asyncMiddleware(checkSignature), | 21 | asyncMiddleware(checkSignature), |
22 | localAccountValidator, | 22 | localAccountValidator, |
23 | activityPubValidator, | 23 | asyncMiddleware(activityPubValidator), |
24 | asyncMiddleware(inboxController) | 24 | asyncMiddleware(inboxController) |
25 | ) | 25 | ) |
26 | 26 | ||