Commit d27056fb authored by Hakaba Hitoyo's avatar Hakaba Hitoyo

remove redundant fallback for actor_type

parent 4311e9ee
Pipeline #20548 failed with stages
in 3 minutes and 26 seconds
...@@ -91,7 +91,7 @@ def render("user.json", %{user: user}) do ...@@ -91,7 +91,7 @@ def render("user.json", %{user: user}) do
%{ %{
"id" => user.ap_id, "id" => user.ap_id,
"type" => user.actor_type || "Person", "type" => user.actor_type,
"following" => "#{user.ap_id}/following", "following" => "#{user.ap_id}/following",
"followers" => "#{user.ap_id}/followers", "followers" => "#{user.ap_id}/followers",
"inbox" => "#{user.ap_id}/inbox", "inbox" => "#{user.ap_id}/inbox",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment