Added comment for POST /api/twitter controller

This commit is contained in:
Sahat Yalkabov
2014-05-29 18:34:03 -04:00
parent 0f3eb15d72
commit 2e9b1367de

View File

@ -262,6 +262,11 @@ exports.getTwitter = function(req, res, next) {
});
};
/**
* POST /api/twitter
* @param tweet
*/
exports.postTwitter = function(req, res, next) {
req.assert('tweet', 'Tweet cannot be empty.').notEmpty();