fix error message for messing with space memberships
This commit is contained in:
parent
9750f08606
commit
fab2a61f83
@ -92,7 +92,7 @@ router.post('/', function(req, res, next) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
res.status(403).json({
|
res.status(403).json({
|
||||||
"error": "not_permitted"
|
"error": "Only administrators can do that."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user