import { NextRequest, NextResponse } from "next/server"; import { dFetchJSON } from "../../options/_lib"; export async function GET(req: NextRequest) { const body = await dFetchJSON(req, "/users/me?fields=id,username,display_name,first_name,last_name,email"); return NextResponse.json(body, { headers: { "cache-control": "no-store" } }); }