We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b986998 commit 38c0d7cCopy full SHA for 38c0d7c
app/templates/server/api/user(auth)/user.controller.js
@@ -64,7 +64,7 @@ exports.show = function(req, res, next) {
64
User.findByIdAsync(userId)
65
.then(function(user) {
66
if (!user) {
67
- return res.send(401);
+ return res.send(404);
68
}
69
res.json(user.profile);
70
})
0 commit comments