custom asyncForEach() is gone

This commit is contained in:
Johannes Zellner
2020-06-03 23:17:06 +02:00
parent b524da23d5
commit 18ac61e8ab
8 changed files with 28 additions and 43 deletions

View File

@@ -1,9 +1,9 @@
'use strict';
/* global $:false */
/* global angular:false */
/* global EventSource:false */
/* global asyncForEach:false */
/* global $ */
/* global angular */
/* global EventSource */
/* global async */
// keep in sync with box/src/apps.js
var ISTATES = {
@@ -1474,7 +1474,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
}
var result = [];
asyncForEach(chunks, function (chunk, iteratorCallback) {
async.eachSeries(chunks, function (chunk, iteratorCallback) {
var config = {
params: {
target: chunk,
@@ -1801,7 +1801,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
this.getApps(function (error, apps) {
if (error) return callback(error);
asyncForEach(apps, function (app, iteratorCallback) {
async.eachSeries(apps, function (app, iteratorCallback) {
var canManageApp = that._userInfo.isAtLeastAdmin;
if (!canManageApp) {