This commit is contained in:
barisusakli
2016-08-04 21:12:03 +03:00
parent 7f041a756d
commit cb6db3625c

View File

@@ -222,7 +222,7 @@ apiController.getObject = function(req, res, next) {
apiController.getCurrentUser = function(req, res, next) {
if (!req.uid) {
return helpers.notAllowed(req, res);
return res.status(401).json('not-authorized');
}
async.waterfall([
function(next) {