remove tiny piece of unused code
This commit is contained in:
parent
2f39dd26be
commit
643b75ebe9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user