Commit 78c864cb authored by lain's avatar lain
Browse files

LikeValidator: Use Recipients Type.

parent b8056e69
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment