From 60d87ed0f52d415f829f8cd68991061b8459a001 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Dec 2019 15:55:38 +0800 Subject: [PATCH] update --- app/Http/Requests/Admin/UserUpdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Admin/UserUpdate.php b/app/Http/Requests/Admin/UserUpdate.php index 985f20df..7106ba59 100644 --- a/app/Http/Requests/Admin/UserUpdate.php +++ b/app/Http/Requests/Admin/UserUpdate.php @@ -20,7 +20,7 @@ class UserUpdate extends FormRequest 'banned' => 'required|in:0,1', 'is_admin' => 'required|in:0,1', 'plan_id' => 'integer', - 'commission_rate' => 'integer|min:0|max:100|nullable' + 'commission_rate' => 'nullable|integer|min:0|max:100' ]; }