Fixup wrong indentation

This commit is contained in:
Johannes Zellner
2019-05-06 22:35:01 +02:00
parent ae5eb00bd0
commit 204c659af2
+11 -11
View File
@@ -116,20 +116,20 @@ function checkAppUpdates(callback) {
iteratorDone();
});
});
}, function () {
newState.box = loadState().box; // preserve the latest box state information
saveState(newState);
}, function () {
newState.box = loadState().box; // preserve the latest box state information
saveState(newState);
if (notificationPending.length === 0) return callback();
if (notificationPending.length === 0) return callback();
users.getAllAdmins(function (error, admins) {
if (error) {
console.error(error);
return callback();
}
users.getAllAdmins(function (error, admins) {
if (error) {
console.error(error);
return callback();
}
async.eachSeries(admins, (admin, done) => mailer.appUpdatesAvailable(admin.email, notificationPending, true /* subscription */, done), callback);
async.eachSeries(admins, (admin, done) => mailer.appUpdatesAvailable(admin.email, notificationPending, true /* subscription */, done), callback);
});
});
});
});