API - allow search of a group using its name (#6066)

This commit is contained in:
Agnès Haasser
2023-10-28 17:36:16 +02:00
committed by GitHub
parent 7380f6d5ae
commit 057d8a7f3b
3 changed files with 52 additions and 5 deletions

View File

@@ -24,6 +24,9 @@ export const GroupsListSchema = z.object({
/** Only list groups where this user is a member */
userId: z.string().uuid().optional(),
/** Find group with matching name */
name: z.string().optional(),
}),
});