Write on the margins of the internet. Powered by the AT Protocol.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #27 from BradEstey/fix-update-bio

fix: can't update profile bio

authored by

Scan and committed by
GitHub
b35f9dc3 bb297394

+3 -1
+3 -1
web/src/api/client.ts
··· 412 412 links?: string[]; 413 413 }): Promise<boolean> { 414 414 try { 415 + const { description, ...rest } = updates; 416 + const body = { ...rest, bio: description }; 415 417 const res = await apiRequest("/api/profile", { 416 418 method: "PUT", 417 - body: JSON.stringify(updates), 419 + body: JSON.stringify(body), 418 420 }); 419 421 return res.ok; 420 422 } catch (e) {