Fix Follow validator

This commit is contained in:
Daniel Supernault 2019-01-12 01:25:21 -07:00
parent 12d4bd7fe4
commit fe6f486914
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -14,7 +14,7 @@ class Follow {
'id' => 'required|string', 'id' => 'required|string',
'type' => [ 'type' => [
'required', 'required',
Rule::in(['Like']) Rule::in(['Follow'])
], ],
'actor' => 'required|url|active_url', 'actor' => 'required|url|active_url',
'object' => 'required|url|active_url' 'object' => 'required|url|active_url'