for await fix - ViteJS

ref #108
This commit is contained in:
Philipp Dormann 2021-03-25 18:56:18 +01:00
parent 95c8fde72f
commit aec5e3473e
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
duration: -1, duration: -1,
}).showToast(); }).showToast();
let count = 0; let count = 0;
for await (const o of orgs) { for (const o of orgs) {
const runners = await RunnerOrganizationService.runnerOrganizationControllerGetRunners( const runners = await RunnerOrganizationService.runnerOrganizationControllerGetRunners(
o.id o.id
); );

View File

@ -35,7 +35,7 @@
duration: -1, duration: -1,
}).showToast(); }).showToast();
let count = 0; let count = 0;
for await (const t of teams) { for (const t of teams) {
count++; count++;
const runners = await RunnerTeamService.runnerTeamControllerGetRunners( const runners = await RunnerTeamService.runnerTeamControllerGetRunners(
t.id t.id