mastodon api: formatting
authorWilliam Pitcock <nenolod@dereferenced.org>
Sat, 22 Sep 2018 02:48:42 +0000 (02:48 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sat, 22 Sep 2018 02:53:04 +0000 (02:53 +0000)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

index 47ae61b5b5ec5941440f8b713cefdf4fd7245e95..391a79885f70007dc858b4d764083a85c05fdabe 100644 (file)
@@ -858,7 +858,9 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
 
     if user && token do
       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 =
         %{