chore: address ESLint errors

This commit is contained in:
Danny Avila 2025-06-19 21:58:45 -04:00
parent 5512c55d71
commit f8c8b89f4d
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
6 changed files with 86 additions and 60 deletions

View file

@ -188,7 +188,10 @@ const getUserOwnedEntraGroups = async (accessToken, sub) => {
try {
const graphClient = await createGraphClient(accessToken, sub);
const groupsResponse = await graphClient.api('/me/ownedObjects/microsoft.graph.group').select('id').get();
const groupsResponse = await graphClient
.api('/me/ownedObjects/microsoft.graph.group')
.select('id')
.get();
return (groupsResponse.value || []).map((group) => group.id);
} catch (error) {