forked from mirror/pixelfed
Update ActivityPub
This commit is contained in:
parent
d2823e64fa
commit
a5742f5729
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Helpers {
|
|||
'actor' => 'required|string',
|
||||
'object' => 'required',
|
||||
'object.type' => 'required_if:type,Create',
|
||||
//'object.attachment' => 'required_if:type,Create',
|
||||
'object.attachment' => 'required_if:type,Create',
|
||||
'object.attributedTo' => 'required_if:type,Create',
|
||||
'published' => 'required_if:type,Create|date'
|
||||
])->passes();
|
||||
|
|
Loading…
Reference in a new issue