[#114] `mix format`
This commit is contained in:
parent
279096228c
commit
b520d44b58
|
@ -100,7 +100,9 @@ def show_user(conn, params) do
|
||||||
for_user = conn.assigns.user
|
for_user = conn.assigns.user
|
||||||
|
|
||||||
with {:ok, shown} <- TwitterAPI.get_user(params),
|
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 =
|
params =
|
||||||
if for_user do
|
if for_user do
|
||||||
%{user: shown, for: for_user}
|
%{user: shown, for: for_user}
|
||||||
|
|
Loading…
Reference in New Issue