add more content to feeds

This commit is contained in:
Riku Rouvila
2015-02-26 22:39:23 +02:00
parent cc27381e00
commit ac8dbaa6e3

View File

@@ -12,8 +12,8 @@ module.exports = function (app) {
*/
app.get('/feeds', cache('10 minutes'), function(req, res, next) {
Promise.props({
twitter: twitter.getTweets(20),
github: github.getEvents(20)
twitter: twitter.getTweets(40),
github: github.getEvents(40)
}).then(function(data) {
res.status(200).send(data);
}, function(err) {