Fix overlooked `q`

pull/4565/head
Richard van der Hoff 2017-07-13 11:33:25 +01:00
parent 69eb1a49d4
commit 7238c4dfac
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ module.exports = React.createClass({
if (needsUpdate.length > 0) { if (needsUpdate.length > 0) {
// If some of the rules need to be ported then wait for the porting // If some of the rules need to be ported then wait for the porting
// to happen and then fetch the rules again. // to happen and then fetch the rules again.
return q.all(needsUpdate).then( function() { return Promise.all(needsUpdate).then( function() {
return cli.getPushRules(); return cli.getPushRules();
}); });
} else { } else {