forked from AkkomaGang/akkoma
[#114] mix format
This commit is contained in:
parent
279096228c
commit
b520d44b58
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ def show_user(conn, params) 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}
|
||||
|
|
Loading…
Reference in a new issue