fix: Replace string casting with string literal

Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
This commit is contained in:
Jack Palmer
2025-06-03 10:36:27 +01:00
parent 54db2a497c
commit 27a00a5c2a
@@ -409,7 +409,7 @@ export class GitlabOrgDiscoveryEntityProvider implements EntityProvider {
const groupPaths = this.config.restrictUsersToGroup
? [this.config.group]
: [rootGroupSplit[0], ...descendantGroups.map(g => g.id)];
: [rootGroupSplit[0], ...descendantGroups.map(g => `${g.id}`)];
// Fetch users group and descendant groups
for (const group of groupPaths) {
@@ -418,7 +418,7 @@ export class GitlabOrgDiscoveryEntityProvider implements EntityProvider {
paginated<GitLabUser>(
options =>
this.gitLabClient.listSaaSUsers(
String(group),
group,
options,
this.config.includeUsersWithoutSeat,
),