From 51f4ad417eac1a4d67f14e8e8292d85fa4f35621 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Thu, 5 Mar 2020 02:30:02 +0800 Subject: [PATCH] fix tags --- app/Http/Requests/Admin/ServerSave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Admin/ServerSave.php b/app/Http/Requests/Admin/ServerSave.php index 2e4d0fba..8c0f6fbe 100755 --- a/app/Http/Requests/Admin/ServerSave.php +++ b/app/Http/Requests/Admin/ServerSave.php @@ -16,7 +16,7 @@ class ServerSave extends FormRequest 'port' => 'required', 'server_port' => 'required', 'tls' => 'required', - 'tags' => 'array', + 'tags' => 'nullable|array', 'rate' => 'required|numeric', 'network' => 'required|in:tcp,kcp,ws,http,domainsocket,quic', 'settings' => ''