mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-25 06:03:59 +01:00
Ensure non-null bio.
This commit is contained in:
parent
d168ef5a9e
commit
3184939055
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
||||||
followers_count: user_info.follower_count,
|
followers_count: user_info.follower_count,
|
||||||
following_count: user_info.following_count,
|
following_count: user_info.following_count,
|
||||||
statuses_count: user_info.note_count,
|
statuses_count: user_info.note_count,
|
||||||
note: user.bio,
|
note: user.bio || "",
|
||||||
url: user.ap_id,
|
url: user.ap_id,
|
||||||
avatar: image,
|
avatar: image,
|
||||||
avatar_static: image,
|
avatar_static: image,
|
||||||
|
|
Loading…
Add table
Reference in a new issue