1
0
Fork 0
forked from mirror/pixelfed

Update ActivityPub

This commit is contained in:
Daniel Supernault 2019-02-25 14:25:20 -07:00
parent d2823e64fa
commit a5742f5729
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -41,7 +41,7 @@ class Helpers {
'actor' => 'required|string', 'actor' => 'required|string',
'object' => 'required', 'object' => 'required',
'object.type' => 'required_if:type,Create', 'object.type' => 'required_if:type,Create',
//'object.attachment' => 'required_if:type,Create', 'object.attachment' => 'required_if:type,Create',
'object.attributedTo' => 'required_if:type,Create', 'object.attributedTo' => 'required_if:type,Create',
'published' => 'required_if:type,Create|date' 'published' => 'required_if:type,Create|date'
])->passes(); ])->passes();