forked from AkkomaGang/akkoma
Fix Controller.render/4 deprecation
This commit is contained in:
parent
d80859731e
commit
a7a54068f9
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ def favourited_by(%{assigns: %{user: user}} = conn, %{"id" => id}) do
|
|||
|
||||
conn
|
||||
|> put_view(AccountView)
|
||||
|> render(AccountView, "accounts.json", %{for: user, users: users, as: :user})
|
||||
|> render("accounts.json", %{for: user, users: users, as: :user})
|
||||
else
|
||||
_ -> json(conn, [])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue