forked from AkkomaGang/akkoma
final format
This commit is contained in:
parent
82225dfc8d
commit
6e7f91bf8f
1 changed files with 5 additions and 8 deletions
|
@ -17,14 +17,11 @@ def filter(object) do
|
|||
true -> "direct"
|
||||
end
|
||||
|
||||
{flag, object_out} =
|
||||
case visibility do
|
||||
"public" -> {:ok, object}
|
||||
"unlisted" -> {:ok, object}
|
||||
_ -> {:reject, nil}
|
||||
end
|
||||
|
||||
{flag, object_out}
|
||||
else
|
||||
{:ok, object}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue