forked from AkkomaGang/akkoma
formatting
This commit is contained in:
parent
f69d38e455
commit
5b9e1f228a
1 changed files with 8 additions and 6 deletions
|
@ -20,14 +20,16 @@ def filter(object) do
|
||||||
true -> "d"
|
true -> "d"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{flag, object_out} =
|
||||||
case visibility do
|
case visibility do
|
||||||
"p" -> {:ok, object}
|
"p" -> {:ok, object}
|
||||||
"u" -> {:ok, object}
|
"u" -> {:ok, object}
|
||||||
_ -> {:reject, nil}
|
_ -> {:reject, nil}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{flag, object_out}
|
||||||
else
|
else
|
||||||
{:ok, object}
|
{:ok, object}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue