mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
LikeValidator: Use Recipients Type.
This commit is contained in:
parent
b8056e69e0
commit
78c864cbee
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.LikeValidator do
|
|||
field(:object, Types.ObjectID)
|
||||
field(:actor, Types.ObjectID)
|
||||
field(:context, :string)
|
||||
field(:to, {:array, :string})
|
||||
field(:cc, {:array, :string})
|
||||
field(:to, Types.Recipients)
|
||||
field(:cc, Types.Recipients)
|
||||
end
|
||||
|
||||
def cast_and_validate(data) do
|
||||
|
|
Loading…
Reference in a new issue