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 @@ defmodule Pleroma.Web.ActivityPub.Pipeline do
{:ok, :not_federated}
end
else
_e -> {:error, "local not set in meta"}
_e -> {:error, :badarg}
end
end
end