Skip to content

Commit

Permalink
Wrap searched display name as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed May 10, 2024
1 parent 6778bae commit 4fb1833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audiences-react/src/scim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 4fb1833

Please sign in to comment.