🐞 fix await for esNext

ref #108
This commit is contained in:
2021-04-03 19:13:05 +02:00
parent d966e1d4de
commit a9227768de
2 changed files with 4 additions and 4 deletions

View File

@@ -149,7 +149,7 @@
}).showToast();
let count = 0;
const current_cards = await RunnerCardService.runnerCardControllerGetAll();
for await (const t of generate_teams) {
for (const t of generate_teams) {
const runners = await RunnerTeamService.runnerTeamControllerGetRunners(
t.id
);
@@ -216,7 +216,7 @@
}).showToast();
let count = 0;
const current_cards = await RunnerCardService.runnerCardControllerGetAll();
for await (const o of generate_orgs) {
for (const o of generate_orgs) {
const runners = await RunnerOrganizationService.runnerOrganizationControllerGetRunners(
o.id
);