Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
lain 2020-08-05 11:33:21 +00:00
parent 70522989d9
commit b5f0cef156
1 changed files with 1 additions and 3 deletions

View File

@ -255,9 +255,7 @@ def increase_replies_count(ap_id) do
end end
end end
defp poll_is_multiple?(%Object{data: %{"anyOf" => anyOf}}) do defp poll_is_multiple?(%Object{data: %{"anyOf" => [_ | _]}}), do: true
!Enum.empty?(anyOf)
end
defp poll_is_multiple?(_), do: false defp poll_is_multiple?(_), do: false