aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-30 14:15:17 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-30 14:15:17 +0100
commitfef2c7164e025b12a64185dbab058ef4129733c6 (patch)
treec9199f611af4334971dfffc71ea6920870a639c1 /server/middlewares
parentf00984c0077e9b666fe8005452768e53d1c3f421 (diff)
downloadPeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.tar.gz
PeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.tar.zst
PeerTube-fef2c7164e025b12a64185dbab058ef4129733c6.zip
Fix bad to/cc when undo dislike
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/validators/activitypub/activity.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/activitypub/activity.ts b/server/middlewares/validators/activitypub/activity.ts
index 8aa82298c..c63be5979 100644
--- a/server/middlewares/validators/activitypub/activity.ts
+++ b/server/middlewares/validators/activitypub/activity.ts
@@ -7,7 +7,7 @@ const activityPubValidator = [
7 body('').custom((value, { req }) => isRootActivityValid(req.body)), 7 body('').custom((value, { req }) => isRootActivityValid(req.body)),
8 8
9 (req: express.Request, res: express.Response, next: express.NextFunction) => { 9 (req: express.Request, res: express.Response, next: express.NextFunction) => {
10 logger.debug('Checking activity pub parameters', { parameters: req.body }) 10 logger.debug('Checking activity pub parameters')
11 11
12 if (areValidationErrors(req, res)) return 12 if (areValidationErrors(req, res)) return
13 13