From ad8e2b8e80eb45e410c5ed224d40cbaf91ce4954 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Sat, 31 Jul 2021 03:36:49 +0900 Subject: [PATCH] update: api --- app/Http/Controllers/Admin/ConfigController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/ConfigController.php b/app/Http/Controllers/Admin/ConfigController.php index 279383c4..073d102d 100755 --- a/app/Http/Controllers/Admin/ConfigController.php +++ b/app/Http/Controllers/Admin/ConfigController.php @@ -166,7 +166,7 @@ class ConfigController extends Controller public function save(ConfigSave $request) { - $data = $request->input(); + $data = $request->validated(); $array = \Config::get('v2board'); foreach ($data as $k => $v) { if (!in_array($k, array_keys($request->validated()))) {