User table: ensure bio is always a string
Gets rid of '|| ""' in multiple places and fixes #2067
This commit is contained in:
parent
dc3a418c27
commit
126461942b
11 changed files with 27 additions and 10 deletions
|
|
@ -1224,7 +1224,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
name: data["name"],
|
||||
follower_address: data["followers"],
|
||||
following_address: data["following"],
|
||||
bio: data["summary"],
|
||||
bio: data["summary"] || "",
|
||||
actor_type: actor_type,
|
||||
also_known_as: Map.get(data, "alsoKnownAs", []),
|
||||
public_key: public_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue