Ensure non-null bio.
This commit is contained in:
parent
d168ef5a9e
commit
3184939055
|
@ -22,7 +22,7 @@ def render("account.json", %{user: user}) do
|
|||
followers_count: user_info.follower_count,
|
||||
following_count: user_info.following_count,
|
||||
statuses_count: user_info.note_count,
|
||||
note: user.bio,
|
||||
note: user.bio || "",
|
||||
url: user.ap_id,
|
||||
avatar: image,
|
||||
avatar_static: image,
|
||||
|
|
Loading…
Reference in a new issue