Remove pattern that can never match

This commit is contained in:
Mark Felder 2024-10-03 10:30:32 -04:00
parent fa8de790df
commit b854e3836f

View file

@ -43,7 +43,6 @@ defmodule Pleroma.Workers.PollWorker do
else else
{:activity, nil} -> {:cancel, :poll_activity_not_found} {:activity, nil} -> {:cancel, :poll_activity_not_found}
{:refetch, _} = e -> {:cancel, e} {:refetch, _} = e -> {:cancel, e}
e -> {:error, e}
end end
end end