Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
This commit is contained in:
parent
643f15e77b
commit
0be1fa0a86
|
@ -1291,6 +1291,6 @@ defp maybe_add_recipients_from_object(%{"object" => object} = data) do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp maybe_add_recipients_from_object(_) do
|
defp maybe_add_recipients_from_object(_) do
|
||||||
{:error, "No referenced object"}
|
{:error, :no_object}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue