mastodon api: formatting

This commit is contained in:
William Pitcock 2018-09-22 02:48:42 +00:00
parent c2b69798dd
commit df00a364fb
1 changed files with 3 additions and 1 deletions

View File

@ -858,7 +858,9 @@ def index(%{assigns: %{user: user}} = conn, _params) do
if user && token do if user && token do
mastodon_emoji = mastodonized_emoji() mastodon_emoji = mastodonized_emoji()
accounts = Map.put(%{}, user.id, AccountView.render("account.json", %{user: user, for: user}))
accounts =
Map.put(%{}, user.id, AccountView.render("account.json", %{user: user, for: user}))
initial_state = initial_state =
%{ %{