Return the full tuple from Tesla

This commit is contained in:
Mark Felder 2023-12-29 01:04:05 -05:00
parent 141702538b
commit 4afe211e50
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
%{status: 403} -> {:discard, :forbidden}
%{status: 404} -> {:discard, :not_found}
%{status: 410} -> {:discard, :not_found}
_ -> {:error, response}
_ -> {:error, e}
end
end
end