diff --git a/frontend/src/api/public-client.ts b/frontend/src/api/public-client.ts index 1fa5d68..47ecdd0 100644 --- a/frontend/src/api/public-client.ts +++ b/frontend/src/api/public-client.ts @@ -176,7 +176,8 @@ async function request(url: string, init?: RequestInit): Promise { try { const body: unknown = await res.json(); if (typeof body === "object" && body !== null && "detail" in body) { - detail = String((body as { detail: unknown }).detail); + const d = (body as { detail: unknown }).detail; + detail = typeof d === "string" ? d : Array.isArray(d) ? d.map((e: any) => e.msg || JSON.stringify(e)).join("; ") : JSON.stringify(d); } } catch { // body not JSON — keep statusText diff --git a/frontend/src/pages/CreatorsBrowse.tsx b/frontend/src/pages/CreatorsBrowse.tsx index 0dc4d1c..9b3e37b 100644 --- a/frontend/src/pages/CreatorsBrowse.tsx +++ b/frontend/src/pages/CreatorsBrowse.tsx @@ -57,7 +57,7 @@ export default function CreatorsBrowse() { const res = await fetchCreators({ sort, genre: genreFilter ?? undefined, - limit: 200, + limit: 100, }); if (!cancelled) setCreators(res.items); } catch (err) {