temporary fix for wordpress events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
6156090782
commit
910c21cb85
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def changeset(struct, data) do
|
|||
defp validate_data(data_cng) do
|
||||
data_cng
|
||||
|> validate_inclusion(:type, ["Event"])
|
||||
|> validate_inclusion(:joinMode, ~w[free restricted invite])
|
||||
|> validate_inclusion(:joinMode, ~w[free restricted invite external])
|
||||
|> validate_required([:id, :actor, :attributedTo, :type, :context])
|
||||
|> CommonValidations.validate_any_presence([:cc, :to])
|
||||
|> CommonValidations.validate_fields_match([:actor, :attributedTo])
|
||||
|
|
Loading…
Reference in a new issue