mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-01-26 11:44:12 +00:00
add more content to feeds
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user