Fix: Import getServerSession from next-auth/next
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
This commit is contained in:
parent
8b12c3ed9e
commit
3695f7eb0c
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user