Merge branch 'users' into 'develop'
Fix users lookup/return type See merge request pleroma/pleroma!201
This commit is contained in:
commit
45a935f0bd
2 changed files with 17 additions and 10 deletions
|
|
@ -15,6 +15,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
|||
conn
|
||||
|> put_resp_header("content-type", "application/activity+json")
|
||||
|> json(UserView.render("user.json", %{user: user}))
|
||||
else
|
||||
nil -> {:error, :not_found}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue