Implemented new API functions to fetch and update agent node profiles, enhancing the management capabilities for agent data. This addition improves the overall functionality of the admin agents console, allowing for better user interaction with agent profiles. Updated related types for improved type safety and clarity in the codebase.
10 lines
342 B
TypeScript
10 lines
342 B
TypeScript
import { redirect } from "next/navigation";
|
||
|
||
/** 兼容旧链接:售罄号码已并入风险池 Tab(筛选售罄)。 */
|
||
export default async function AdminDrawRiskSoldOutPage(props: {
|
||
params: Promise<{ drawId: string }>;
|
||
}) {
|
||
const { drawId } = await props.params;
|
||
redirect(`/admin/draws/${drawId}/risk/pools?filter=sold_out`);
|
||
}
|