From e2f42c5ac3efa7e5020bc81433b9d3cc1a36cb57 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 12 Feb 2024 09:33:11 +0100 Subject: [PATCH] added new q param (#26739) fixes: #26231 Signed-off-by: Erik Jan de Wit --- js/libs/keycloak-admin-client/src/resources/groups.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/libs/keycloak-admin-client/src/resources/groups.ts b/js/libs/keycloak-admin-client/src/resources/groups.ts index 7d1655a76c..5139c2ef1b 100644 --- a/js/libs/keycloak-admin-client/src/resources/groups.ts +++ b/js/libs/keycloak-admin-client/src/resources/groups.ts @@ -8,6 +8,7 @@ import type UserRepresentation from "../defs/userRepresentation.js"; import Resource from "./resource.js"; interface Query { + q?: string; search?: string; exact?: boolean; } @@ -35,7 +36,14 @@ export interface GroupCountQuery { export class Groups extends Resource<{ realm?: string }> { public find = this.makeRequest({ method: "GET", - queryParamKeys: ["search", "exact", "briefRepresentation", "first", "max"], + queryParamKeys: [ + "search", + "q", + "exact", + "briefRepresentation", + "first", + "max", + ], }); public create = this.makeRequest({