Files
tower/apps/web/app/api/my/profile/route.ts
T
2026-06-09 02:02:40 +05:30

10 lines
284 B
TypeScript

import { jsonResponse, memberApiFetch } from '../../../_lib/api';
export const dynamic = 'force-dynamic';
export async function GET(): Promise<Response> {
const res = await memberApiFetch('/my/profile');
const body = await res.json();
return jsonResponse(body, res.status);
}