mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Fix Follow validator
This commit is contained in:
parent
12d4bd7fe4
commit
fe6f486914
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue