remove tiny piece of unused code

This commit is contained in:
mntmn 2020-04-09 17:27:14 +02:00
parent 2f39dd26be
commit 643b75ebe9

View File

@ -57,11 +57,6 @@ module.exports = (req, res, next) => {
"_id": spaceId "_id": spaceId
}}).then(function(space) { }}).then(function(space) {
//.populate("creator", userMapping)
//if (err) {
// res.status(400).json(err);
//} else {
if (space) { if (space) {
if (space.access_mode == "public") { if (space.access_mode == "public") {
if (space.password) { if (space.password) {