fix: Fix TypeScript errors in assets route and add banner_url to MicrodaoSummary

This commit is contained in:
Apple
2025-12-02 09:03:35 -08:00
parent cf0b3feee0
commit fd710da55d
2 changed files with 3 additions and 2 deletions

View File

@@ -15,14 +15,14 @@ export async function GET(
request: NextRequest,
{ params }: { params: Promise<{ path: string[] }> }
) {
return handleAssetRequest(request, params);
return handleAssetRequest(request, { params });
}
export async function HEAD(
request: NextRequest,
{ params }: { params: Promise<{ path: string[] }> }
) {
return handleAssetRequest(request, params);
return handleAssetRequest(request, { params });
}
async function handleAssetRequest(

View File

@@ -29,6 +29,7 @@ export interface MicrodaoSummary {
// Stats
logo_url?: string | null;
banner_url?: string | null;
member_count: number;
agents_count: number; // backward compatibility
room_count: number;