mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 23:04:55 +00:00
8 lines
217 B
TypeScript
8 lines
217 B
TypeScript
import { APIEvent } from "@solidjs/start"
|
|
import { useAuthSession } from "~/context/auth"
|
|
|
|
export async function GET(_input: APIEvent) {
|
|
const session = await useAuthSession()
|
|
return Response.json(session.data)
|
|
}
|