mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Merge pull request #4892 from jaswilli/contribs
Retry API request when buildAboutPage gets 202
This commit is contained in:
commit
00f9ae6b8c
2 changed files with 3 additions and 2 deletions
|
@ -1043,7 +1043,8 @@ var _ = require('lodash'),
|
||||||
repo: 'ghost',
|
repo: 'ghost',
|
||||||
oauthKey: oauthKey,
|
oauthKey: oauthKey,
|
||||||
releaseDate: ninetyDaysAgo,
|
releaseDate: ninetyDaysAgo,
|
||||||
count: 20
|
count: 20,
|
||||||
|
retry: true
|
||||||
})
|
})
|
||||||
).then(function (results) {
|
).then(function (results) {
|
||||||
var contributors = results[1],
|
var contributors = results[1],
|
||||||
|
|
|
@ -102,6 +102,6 @@
|
||||||
"sinon": "~1.12.2",
|
"sinon": "~1.12.2",
|
||||||
"supertest": "~0.15.0",
|
"supertest": "~0.15.0",
|
||||||
"testem": "^0.6.23",
|
"testem": "^0.6.23",
|
||||||
"top-gh-contribs": "0.0.6"
|
"top-gh-contribs": "^1.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue