Merge pull request #4892 from jaswilli/contribs

Retry API request when buildAboutPage gets 202
This commit is contained in:
Matt Enlow 2015-02-05 14:01:12 -07:00
commit 00f9ae6b8c
2 changed files with 3 additions and 2 deletions

View File

@ -1043,7 +1043,8 @@ var _ = require('lodash'),
repo: 'ghost',
oauthKey: oauthKey,
releaseDate: ninetyDaysAgo,
count: 20
count: 20,
retry: true
})
).then(function (results) {
var contributors = results[1],

View File

@ -102,6 +102,6 @@
"sinon": "~1.12.2",
"supertest": "~0.15.0",
"testem": "^0.6.23",
"top-gh-contribs": "0.0.6"
"top-gh-contribs": "^1.0.0"
}
}