diff --git a/web/src/api/client.ts b/web/src/api/client.ts index 9cd8edb..c23f672 100644 --- a/web/src/api/client.ts +++ b/web/src/api/client.ts @@ -412,9 +412,11 @@ export async function updateProfile(updates: { links?: string[]; }): Promise { try { + const { description, ...rest } = updates; + const body = { ...rest, bio: description }; const res = await apiRequest("/api/profile", { method: "PUT", - body: JSON.stringify(updates), + body: JSON.stringify(body), }); return res.ok; } catch (e) {