object_validators: Mark validate_data as private
[akkoma] / lib / pleroma / web / activity_pub / object_validators / create_generic_validator.ex
index bf56a918cfd0242a81e93833e1956b1ff9ae2991..e06e442f41a0bf49fc330ea57eccc06984f75b18 100644 (file)
@@ -79,7 +79,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CreateGenericValidator do
     |> CommonFixes.fix_actor()
   end
 
-  def validate_data(cng, meta \\ []) do
+  defp validate_data(cng, meta) do
     cng
     |> validate_required([:actor, :type, :object])
     |> validate_inclusion(:type, ["Create"])