Skip to content

Commit

Permalink
make eventpage optional (#7573)
Browse files Browse the repository at this point in the history
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
  • Loading branch information
CarinaWolli and CarinaWolli authored Mar 7, 2023
1 parent 163444a commit 804ba04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 804ba04

Please sign in to comment.