diff --git a/lib/auth/utils.ts b/lib/auth/utils.ts index 0313e02..d799e63 100644 --- a/lib/auth/utils.ts +++ b/lib/auth/utils.ts @@ -1,6 +1,7 @@ import { db } from "@/lib/db/index"; import { DrizzleAdapter } from "@auth/drizzle-adapter"; -import { getServerSession, type NextAuthOptions } from "next-auth"; +import { type NextAuthOptions } from "next-auth"; +import { getServerSession } from "next-auth/next"; import { type Adapter } from "next-auth/adapters"; import { redirect } from "next/navigation"; import { z } from "zod";