mirror of
https://github.com/hanzo-apps/dataroom.git
synced 2026-11-02 22:04:20 +00:00
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
import { authOptions } from "@/pages/api/auth/[...nextauth]";
|
|
import { getServerSession } from "next-auth";
|
|
|
|
export const getSession = async () => {
|
|
return getServerSession(authOptions);
|
|
};
|