* chore(release): v5.1.0

* feat: implement resume thumbnails

* fix: remove unused mcp tools

* docs: fix formatting of docs
This commit is contained in:
Amruth Pillai
2026-05-07 15:12:33 +02:00
committed by GitHub
parent 51c366310e
commit 50ba37a27f
1015 changed files with 106087 additions and 141872 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { AuthSession } from "./types";
import { getRequestHeaders } from "@tanstack/react-start/server";
import { auth } from "./config";
export async function getSession(): Promise<AuthSession | null> {
const result = await auth.api.getSession({ headers: getRequestHeaders() });
return result as AuthSession | null;
}