From ba87c324f33f4b0fe193b26d97cfec1d63797914 Mon Sep 17 00:00:00 2001 From: Musale Martin Date: Tue, 6 Aug 2024 11:17:26 +0300 Subject: [PATCH] fix: add headers when people-picker has input (#3269) --- packages/mgt-components/src/graph/graph.user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mgt-components/src/graph/graph.user.ts b/packages/mgt-components/src/graph/graph.user.ts index b1f9405427..dedd1465ec 100644 --- a/packages/mgt-components/src/graph/graph.user.ts +++ b/packages/mgt-components/src/graph/graph.user.ts @@ -506,7 +506,7 @@ export const findGroupMembers = async ( const graphClient: GraphRequest = graph.api(apiUrl).top(top).filter(filter); - if (userFilters) { + if (userFilters || query) { graphClient.header('ConsistencyLevel', 'eventual').count(true); }