From 7e54825dc3a4d6cd766b02a7cdfa0b61c0c6c832 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:16:49 +0330 Subject: [PATCH] Import source: vault/app/api/auth/me/route Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- vault/app/api/auth/me/route.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 vault/app/api/auth/me/route.ts diff --git a/vault/app/api/auth/me/route.ts b/vault/app/api/auth/me/route.ts new file mode 100644 index 0000000..2ff5554 --- /dev/null +++ b/vault/app/api/auth/me/route.ts @@ -0,0 +1,7 @@ +import { NextResponse } from "next/server"; +import { getCurrentUser } from "@/lib/server-security"; + +export async function GET() { + const user = await getCurrentUser(); + return NextResponse.json({ user }); +}