make eventpage optional (#7573)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>pull/7411/head^2
parent
163444a0f9
commit
804ba04983
|
@ -48,7 +48,7 @@ const locationFormSchema = z.array(
|
|||
);
|
||||
|
||||
const querySchema = z.object({
|
||||
eventPage: z.string(),
|
||||
eventPage: z.string().optional(),
|
||||
teamId: z.union([z.string().transform((val) => +val), z.number()]).optional(),
|
||||
title: z.string().optional(),
|
||||
slug: z.string().optional(),
|
||||
|
|
Loading…
Reference in New Issue