Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Return with a callback function

Chocobozzz1bfd1a920f2d
diff --git a/middlewares/reqValidators/pods.js b/middlewares/reqValidators/pods.js
index 7d1612ddef..ef09d51cf8 100644
--- a/middlewares/reqValidators/pods.js
+++ b/middlewares/reqValidators/pods.js
@@ -20,7 +20,7 @@ function makeFriends (req, res, next) {
// We need to quit our friends before make new ones
res.sendStatus(409)
} else {
- next()
+ return next()
}
})
}