WIP MNT design/UX cleanup
This commit is contained in:
@@ -78,14 +78,14 @@ router.get('/png', function(req, res, next) {
|
||||
var oldPath = url.parse(oldUrl).pathname;
|
||||
uploader.removeFile(oldPath, function(err, res) {});
|
||||
}
|
||||
fs.unlink(local_path);
|
||||
fs.unlinkSync(local_path);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
fs.unlink(localResizedFilePath);
|
||||
fs.unlinkSync(localResizedFilePath);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ router.post('/', function(req, res, next) {
|
||||
|
||||
} else {
|
||||
res.status(400).json({
|
||||
"error": "user already in space"
|
||||
"error": "This email is already included in the Space memberships."
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user