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
1 changed files with 1 additions and 1 deletions

View File

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