projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply 1 suggestion(s) to 1 file(s)
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
object_validators
/
undo_validator.ex
diff --git
a/lib/pleroma/web/activity_pub/object_validators/undo_validator.ex
b/lib/pleroma/web/activity_pub/object_validators/undo_validator.ex
index e8d2d39c124c9f819bd2ea0a654b0783b80ad61f..8cae94467429afe8b4a0213545bd074fb87b4cb8 100644
(file)
--- a/
lib/pleroma/web/activity_pub/object_validators/undo_validator.ex
+++ b/
lib/pleroma/web/activity_pub/object_validators/undo_validator.ex
@@
-18,8
+18,8
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.UndoValidator do
field(:type, :string)
field(:object, ObjectValidators.ObjectID)
field(:actor, ObjectValidators.ObjectID)
field(:type, :string)
field(:object, ObjectValidators.ObjectID)
field(:actor, ObjectValidators.ObjectID)
- field(:to,
{:array, :string}
, default: [])
- field(:cc,
{:array, :string}
, default: [])
+ field(:to,
ObjectValidators.Recipients
, default: [])
+ field(:cc,
ObjectValidators.Recipients
, default: [])
end
def cast_and_validate(data) do
end
def cast_and_validate(data) do