diff --git a/lib/response.js b/lib/response.js index 0d5a4ae4d4d..67ef102438e 100644 --- a/lib/response.js +++ b/lib/response.js @@ -364,7 +364,7 @@ res.sendStatus = function sendStatus(statusCode) { * if (yes) { * res.sendFile('/uploads/' + uid + '/' + file); * } else { - * res.send(403, 'Sorry! you can\'t see that.'); + * res.status(403).send('Sorry! you can\'t see that.'); * } * }); * });