From 643b75ebe98b0ef00fff852b31500680e934f307 Mon Sep 17 00:00:00 2001 From: mntmn Date: Thu, 9 Apr 2020 17:27:14 +0200 Subject: [PATCH] remove tiny piece of unused code --- middlewares/space_helpers.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/middlewares/space_helpers.js b/middlewares/space_helpers.js index 07e5931..6459529 100644 --- a/middlewares/space_helpers.js +++ b/middlewares/space_helpers.js @@ -57,11 +57,6 @@ module.exports = (req, res, next) => { "_id": spaceId }}).then(function(space) { - //.populate("creator", userMapping) - //if (err) { - // res.status(400).json(err); - //} else { - if (space) { if (space.access_mode == "public") { if (space.password) {