Fix syntax

This commit is contained in:
Pig Fang 2019-04-19 23:21:14 +08:00
parent d8d80f2729
commit bb3fecf57c

View File

@ -73,7 +73,7 @@ class UpdateController extends Controller
$json = $this->guzzle->request(
'GET',
$this->updateSource,
['verify' => resource_path('misc/ca-bundle.crt')],
['verify' => resource_path('misc/ca-bundle.crt')]
)->getBody();
$info = json_decode($json, true);
if (Arr::get($info, 'spec') == $acceptableSpec) {