Skip to content

Commit

Permalink
Update query param
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior committed Jan 17, 2025
1 parent dca3e3f commit 658209f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audiences-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "audiences",
"version": "1.5.0-alpha1",
"version": "1.5.0-alpha2",
"description": "Audiences SCIM client",
"files": [
"dist/*.*",
Expand Down
2 changes: 1 addition & 1 deletion audiences-react/src/audiences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function useAudiences(
}

async function query(resourceId: string, displayName: string) {
return await get<ScimObject[]>(`scim/${resourceId}?filter=${displayName}`)
return await get<ScimObject[]>(`scim/${resourceId}?query=${displayName}`)
}

async function save() {
Expand Down

0 comments on commit 658209f

Please sign in to comment.