good forst commit

This commit is contained in:
2026-06-09 02:02:40 +05:30
parent 801c1d7121
commit 249d759e6a
215 changed files with 15425 additions and 1240 deletions
@@ -0,0 +1,12 @@
import { apiFetch, jsonResponse } from '../../../_lib/api';
export const dynamic = 'force-dynamic';
export async function GET(req: Request): Promise<Response> {
const { searchParams } = new URL(req.url);
const token = searchParams.get('token');
if (!token) return new Response(JSON.stringify({ message: 'token required' }), { status: 400 });
const res = await apiFetch(`/admin/groups/claim-token-info?token=${encodeURIComponent(token)}`);
const body = await res.json();
return jsonResponse(body, res.status);
}