Issue in cube controller in getEdit
Opened this issue · 0 comments
davidtodorov commented
In week4/workshop/controllers/cube.js
models.cubeModel.findOne({ _id: id, creatorId: user._id }).then(cube => {
......
}).next(next);
Should be catch
Opened this issue · 0 comments
In week4/workshop/controllers/cube.js
models.cubeModel.findOne({ _id: id, creatorId: user._id }).then(cube => {
......
}).next(next);
Should be catch