passing userSelect to the readMicrosoftGraphOrg
Signed-off-by: Luka Siric <siric.luka@gmail.com>
This commit is contained in:
@@ -106,7 +106,7 @@ export async function readMicrosoftGraphUsers(
|
||||
{
|
||||
filter: options.userFilter,
|
||||
expand: options.userExpand,
|
||||
select: options.userSelect || [],
|
||||
select: options.userSelect,
|
||||
},
|
||||
options.queryMode,
|
||||
)) {
|
||||
@@ -147,6 +147,7 @@ export async function readMicrosoftGraphUsersInGroups(
|
||||
options: {
|
||||
queryMode?: 'basic' | 'advanced';
|
||||
userExpand?: string;
|
||||
userSelect?: string[];
|
||||
userGroupMemberSearch?: string;
|
||||
userGroupMemberFilter?: string;
|
||||
groupExpand?: string;
|
||||
@@ -536,6 +537,7 @@ export async function readMicrosoftGraphOrg(
|
||||
options: {
|
||||
userExpand?: string;
|
||||
userFilter?: string;
|
||||
userSelect?: string[];
|
||||
userGroupMemberSearch?: string;
|
||||
userGroupMemberFilter?: string;
|
||||
groupExpand?: string;
|
||||
@@ -567,6 +569,7 @@ export async function readMicrosoftGraphOrg(
|
||||
const { users: usersWithFilter } = await readMicrosoftGraphUsers(client, {
|
||||
queryMode: options.queryMode,
|
||||
userFilter: options.userFilter,
|
||||
userSelect: options.userSelect,
|
||||
userExpand: options.userExpand,
|
||||
transformer: options.userTransformer,
|
||||
logger: options.logger,
|
||||
|
||||
Reference in New Issue
Block a user