]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/activitypub/activity.ts
Add HTTP signature check before linked signature
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / activitypub / activity.ts
index 4aace4c8e6f7bc60b93c4145e78aed10989955a7..3f9057c0c395288ac838e03681524ee0281a9c0f 100644 (file)
@@ -1,10 +1,8 @@
 import * as express from 'express'
-import { body } from 'express-validator/check'
 import { isRootActivityValid } from '../../../helpers/custom-validators/activitypub/activity'
 import { logger } from '../../../helpers/logger'
 import { getServerActor } from '../../../helpers/utils'
 import { ActorModel } from '../../../models/activitypub/actor'
-import { areValidationErrors } from '../utils'
 
 async function activityPubValidator (req: express.Request, res: express.Response, next: express.NextFunction) {
   logger.debug('Checking activity pub parameters')