update zod schema for admin
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user