Skip to content

Commit 7238c4d

Browse files
committed
Fix overlooked q
1 parent 69eb1a4 commit 7238c4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/views/settings/Notifications.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ module.exports = React.createClass({
442442
if (needsUpdate.length > 0) {
443443
// If some of the rules need to be ported then wait for the porting
444444
// to happen and then fetch the rules again.
445-
return q.all(needsUpdate).then( function() {
445+
return Promise.all(needsUpdate).then( function() {
446446
return cli.getPushRules();
447447
});
448448
} else {

0 commit comments

Comments
 (0)