mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
bf28f4bc4b
commit
129e04d25b
@ -33,7 +33,7 @@ class ServerController extends Controller
|
||||
$server->port = $request->input('port');
|
||||
$server->server_port = $request->input('server_port');
|
||||
$server->tls = $request->input('tls');
|
||||
$server->tags = json_encode($request->input('tags'));
|
||||
$server->tags = json_encode($request->input('tags') ? $request->input('tags') : []);
|
||||
$server->rate = $request->input('rate');
|
||||
return response([
|
||||
'data' => $server->save()
|
||||
|
Loading…
Reference in New Issue
Block a user