forked from AkkomaGang/akkoma
LikeValidator: Add defaults for recipients back in.
This commit is contained in:
parent
2cb3f8a8cf
commit
f21f538293
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.LikeValidator do
|
||||||
field(:object, Types.ObjectID)
|
field(:object, Types.ObjectID)
|
||||||
field(:actor, Types.ObjectID)
|
field(:actor, Types.ObjectID)
|
||||||
field(:context, :string)
|
field(:context, :string)
|
||||||
field(:to, Types.Recipients)
|
field(:to, Types.Recipients, default: [])
|
||||||
field(:cc, Types.Recipients)
|
field(:cc, Types.Recipients, default: [])
|
||||||
end
|
end
|
||||||
|
|
||||||
def cast_and_validate(data) do
|
def cast_and_validate(data) do
|
||||||
|
|
Loading…
Reference in a new issue