Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex
[akkoma] / lib / pleroma / web / activity_pub / pipeline.ex
index cb3571917dc56ced4b5ec26207ab963d3c83174f..25f29bf636341d742bded4664c5c6b58aa533bc0 100644 (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