Merge branch 'oban/fetcher-rejected' into 'develop'

Dialyzer fix for RemoteFetcherWorker

See merge request pleroma/pleroma!4183
This commit is contained in:
feld 2024-07-17 18:03:48 +00:00
commit c45ee5fc82
3 changed files with 3 additions and 5 deletions

View file

@ -13,7 +13,7 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
{:ok, _object} ->
:ok
{:rejected, reason} ->
{:reject, reason} ->
{:cancel, reason}
{:error, :forbidden} ->
@ -27,9 +27,6 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
{:error, _} = e ->
e
e ->
{:error, e}
end
end