From 4fb18337ceca1523dd5134bba0ca107ef62b4e4a Mon Sep 17 00:00:00 2001 From: Carlos Palhares Date: Fri, 10 May 2024 18:29:36 -0300 Subject: [PATCH] Wrap searched display name as a string --- audiences-react/src/scim.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiences-react/src/scim.ts b/audiences-react/src/scim.ts index 02f3fa5b..17239931 100644 --- a/audiences-react/src/scim.ts +++ b/audiences-react/src/scim.ts @@ -11,7 +11,7 @@ export function useScim(): UseScimResources { const { get } = useFetch(uri) const filter = async (resourceId: string, displayName: string) => { - return await get(`${resourceId}?filter=displayName co ${displayName}`) + return await get(`${resourceId}?filter=displayName co "${displayName}"`) } return { filter }