Commit 643b75eb authored by mntmn's avatar mntmn
Browse files

remove tiny piece of unused code

parent 2f39dd26
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment