From 3695f7eb0cd6e51b59e47eea2787872a331bac84 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Fri, 5 Dec 2025 23:42:15 +0100 Subject: [PATCH] Fix: Import getServerSession from next-auth/next --- lib/auth/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";