From c05af9b27d253c9fabfe09b0caeb998ef4f39671 Mon Sep 17 00:00:00 2001 From: "j.dev" Date: Thu, 19 Sep 2024 11:07:32 -0700 Subject: [PATCH] fix(3795): fix typo --- app/app/api/public-cloud/aws-roles/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app/api/public-cloud/aws-roles/helpers.ts b/app/app/api/public-cloud/aws-roles/helpers.ts index acc3689e0..3be710568 100644 --- a/app/app/api/public-cloud/aws-roles/helpers.ts +++ b/app/app/api/public-cloud/aws-roles/helpers.ts @@ -180,8 +180,8 @@ async function listSubGroups({ parentId, search }: { parentId: string; search?: while (true) { const groups = await kcAdminClient.groups.listSubGroups({ parentId, search, first, max }); - if (groups.length < max) break; subGroups.push(...groups); + if (groups.length < max) break; first += 1; }