update: api

This commit is contained in:
tokumeikoi 2021-07-31 03:36:49 +09:00
parent 8a20a70513
commit ad8e2b8e80

View File

@ -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()))) {