From c1b8e706eb96695685df8885e1927d5006f977cc Mon Sep 17 00:00:00 2001 From: Christian Walker Date: Wed, 11 Sep 2024 09:58:21 -0500 Subject: [PATCH] updates formschema --- apps/web/src/app/api/admin/events/create/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/api/admin/events/create/route.ts b/apps/web/src/app/api/admin/events/create/route.ts index 98e17dda..6c345aab 100644 --- a/apps/web/src/app/api/admin/events/create/route.ts +++ b/apps/web/src/app/api/admin/events/create/route.ts @@ -1,7 +1,7 @@ import { auth } from "@clerk/nextjs"; import { db } from "db"; import { events } from "db/schema"; -import { newEventValidator } from "@/validators/shared/newEvent"; +import { newEventFormSchema } from "@/validators/event"; import { BasicRedirValidator } from "@/validators/shared/basicRedir"; import { NextResponse } from "next/server"; import { z } from "zod";