From 24303052ad7a07a59989050bb28c86c02a2a7afd Mon Sep 17 00:00:00 2001 From: Miguel N Date: Mon, 7 Sep 2020 23:57:50 +0100 Subject: [PATCH] Ban validation update --- app/Http/Requests/BanUserRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/BanUserRequest.php b/app/Http/Requests/BanUserRequest.php index 358cd73..ba25c34 100644 --- a/app/Http/Requests/BanUserRequest.php +++ b/app/Http/Requests/BanUserRequest.php @@ -27,7 +27,7 @@ class BanUserRequest extends FormRequest { return [ 'reason' => 'required|string', - 'durationOperand' => 'nullable|integer', + 'durationOperand' => 'nullable|string', 'durationOperator' => 'nullable|string' ]; }