Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex

This commit is contained in:
lain 2020-03-31 17:00:48 +00:00
parent 643f15e77b
commit 0be1fa0a86

View file

@ -1291,6 +1291,6 @@ defp maybe_add_recipients_from_object(%{"object" => object} = data) do
end
defp maybe_add_recipients_from_object(_) do
{:error, "No referenced object"}
{:error, :no_object}
end
end