aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <rbraun@Bobble.local>2017-09-13 17:45:59 +0200
committerRoger Braun <rbraun@Bobble.local>2017-09-13 17:45:59 +0200
commit3184939055fb8c1c9577a9d13e69c2c2f7e070c0 (patch)
tree37b7b9936e26f397e919964677d367407058dc39 /lib
parentd168ef5a9eb4fc074b042a6dea6d7971d1972c06 (diff)
downloadpleroma-3184939055fb8c1c9577a9d13e69c2c2f7e070c0.tar.gz
Ensure non-null bio.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/account_view.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex
index 4f65eb772..22a7dddf8 100644
--- a/lib/pleroma/web/mastodon_api/views/account_view.ex
+++ b/lib/pleroma/web/mastodon_api/views/account_view.ex
@@ -22,7 +22,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView 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,