projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
object_validators: Mark validate_data as private
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
object_validators
/
create_generic_validator.ex
diff --git
a/lib/pleroma/web/activity_pub/object_validators/create_generic_validator.ex
b/lib/pleroma/web/activity_pub/object_validators/create_generic_validator.ex
index bf56a918cfd0242a81e93833e1956b1ff9ae2991..e06e442f41a0bf49fc330ea57eccc06984f75b18 100644
(file)
--- a/
lib/pleroma/web/activity_pub/object_validators/create_generic_validator.ex
+++ b/
lib/pleroma/web/activity_pub/object_validators/create_generic_validator.ex
@@
-79,7
+79,7
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.CreateGenericValidator do
|> CommonFixes.fix_actor()
end
- def
validate_data(cng, meta \\ []
) do
+ def
p validate_data(cng, meta
) do
cng
|> validate_required([:actor, :type, :object])
|> validate_inclusion(:type, ["Create"])