mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +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) {
|
export async function GET(request: Request) {
|
||||||
const schema = z.object({
|
const schema = z.object({
|
||||||
|
userId: z.string().uuid(),
|
||||||
|
includeOwnedTeams: z.string().optional(),
|
||||||
|
includeAllTeams: z.string().optional(),
|
||||||
...pagingParams,
|
...pagingParams,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue