This commit is contained in:
Dax Raad
2025-11-22 23:53:32 -05:00
parent c2bf6975f8
commit 2b014fcd75
3 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
import { APIEvent } from "@solidjs/start"
import { useAuthSession } from "~/context/auth.session"
export async function GET(input: APIEvent) {
const session = await useAuthSession()
return Response.json(session.data)
}