[#114] `mix format`
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 19 Dec 2018 16:03:39 +0000 (19:03 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 19 Dec 2018 16:03:39 +0000 (19:03 +0300)
lib/pleroma/web/twitter_api/twitter_api_controller.ex

index e047ed0add186ca87a813c7d21222e3a7006d91d..2b0f7135a5fea9c96d45641dafe31409f10273e2 100644 (file)
@@ -100,7 +100,9 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
     for_user = conn.assigns.user
 
     with {:ok, shown} <- TwitterAPI.get_user(params),
-         true <- User.auth_active?(shown) || for_user && (for_user.id == shown.id || User.superuser?(for_user)) do
+         true <-
+           User.auth_active?(shown) ||
+             (for_user && (for_user.id == shown.id || User.superuser?(for_user))) do
       params =
         if for_user do
           %{user: shown, for: for_user}