This commit is contained in:
2025-08-19 01:13:05 +02:00
parent 383ee92b68
commit 361b2ed8f0

View File

@@ -16,7 +16,7 @@ export const movieVoteSchema = z.object({
// Schedule movie schema
export const scheduleMovieSchema = z.object({
movieId: z.string().min(1, "Movie ID is required"),
date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "Invalid date format"),
date: z.any(),
});
// Search movie schema