Commit 0be1fa0a authored by lain's avatar lain
Browse files

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

parent 643f15e7
Pipeline #24062 passed with stages
in 4 minutes and 4 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment