mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
update zod schema for admin
This commit is contained in:
parent
99edacebf4
commit
88043ee916
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,9 @@ import { ROLES } from '@/lib/constants';
|
|||
|
||||
export async function GET(request: Request) {
|
||||
const schema = z.object({
|
||||
userId: z.string().uuid(),
|
||||
includeOwnedTeams: z.string().optional(),
|
||||
includeAllTeams: z.string().optional(),
|
||||
...pagingParams,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue