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 @@ def publish_one(%{inbox: inbox, json: json, actor: %User{} = actor, id: id} = pa
%{status: 403} -> {:discard, :forbidden}
%{status: 404} -> {:discard, :not_found}
%{status: 410} -> {:discard, :not_found}
_ -> {:error, response}
_ -> {:error, e}
end
end
end