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

This commit is contained in:
lain 2020-03-24 18:24:09 +00:00
parent 74560e888e
commit aaf00f1ff5

View file

@ -35,7 +35,7 @@ defp maybe_federate(activity, meta) do
{:ok, :not_federated} {:ok, :not_federated}
end end
else else
_e -> {:error, "local not set in meta"} _e -> {:error, :badarg}
end end
end end
end end