mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix user plan not nullable
This commit is contained in:
parent
3c78bed800
commit
c28a6ec1d3
@ -12,7 +12,7 @@ class UserUpdate extends FormRequest
|
||||
'transfer_enable' => 'numeric',
|
||||
'expired_at' => 'integer',
|
||||
'enable' => 'required|in:0,1',
|
||||
'plan_id' => 'nullable|integer',
|
||||
'plan_id' => 'nullable|integer',
|
||||
'commission_rate' => 'nullable|integer|min:0|max:100',
|
||||
'discount' => 'nullable|integer|min:0|max:100',
|
||||
'is_admin' => 'required|in:0,1',
|
||||
|
Loading…
Reference in New Issue
Block a user