passing select attr to the getUsers

Signed-off-by: Luka Siric <siric.luka@gmail.com>
This commit is contained in:
Luka Siric
2022-09-06 10:55:03 +02:00
parent bfa49b21b1
commit 6cd4e06d91
@@ -89,6 +89,7 @@ export async function readMicrosoftGraphUsers(
queryMode?: 'basic' | 'advanced';
userFilter?: string;
userExpand?: string;
userSelect?: string[];
transformer?: UserTransformer;
logger: Logger;
},
@@ -105,6 +106,7 @@ export async function readMicrosoftGraphUsers(
{
filter: options.userFilter,
expand: options.userExpand,
select: options.userSelect || [],
},
options.queryMode,
)) {