From 658209f98870043f2299efc3fc9c7f41fb426129 Mon Sep 17 00:00:00 2001 From: Carlos Palhares Date: Fri, 17 Jan 2025 16:42:14 -0300 Subject: [PATCH] Update query param --- audiences-react/package.json | 2 +- audiences-react/src/audiences.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audiences-react/package.json b/audiences-react/package.json index b0d6306b..c4ba6d51 100644 --- a/audiences-react/package.json +++ b/audiences-react/package.json @@ -1,6 +1,6 @@ { "name": "audiences", - "version": "1.5.0-alpha1", + "version": "1.5.0-alpha2", "description": "Audiences SCIM client", "files": [ "dist/*.*", diff --git a/audiences-react/src/audiences.ts b/audiences-react/src/audiences.ts index c361b649..885a84be 100644 --- a/audiences-react/src/audiences.ts +++ b/audiences-react/src/audiences.ts @@ -75,7 +75,7 @@ export function useAudiences( } async function query(resourceId: string, displayName: string) { - return await get(`scim/${resourceId}?filter=${displayName}`) + return await get(`scim/${resourceId}?query=${displayName}`) } async function save() {