Fix failing test on updating actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
cc4a59ad1f
commit
8f50e88e1e
@ -65,7 +65,7 @@ defmodule Mobilizon.Actors.Actor do
|
||||
]
|
||||
@attrs @required_attrs ++ @optional_attrs
|
||||
|
||||
@update_required_attrs @required_attrs
|
||||
@update_required_attrs @required_attrs -- [:url]
|
||||
@update_optional_attrs [:name, :summary, :manually_approves_followers, :user_id]
|
||||
@update_attrs @update_required_attrs ++ @update_optional_attrs
|
||||
|
||||
|
@ -33,7 +33,7 @@ defmodule Mobilizon.Service.ActivityPub.Converters.Actor do
|
||||
"type" => String.to_existing_atom(object["type"]),
|
||||
"preferred_username" => object["preferredUsername"],
|
||||
"summary" => object["summary"],
|
||||
"url" => object["url"],
|
||||
"url" => object["id"],
|
||||
"name" => object["name"],
|
||||
"avatar" => avatar,
|
||||
"banner" => banner,
|
||||
|
Loading…
Reference in New Issue
Block a user