Fix syntax
This commit is contained in:
parent
d8d80f2729
commit
bb3fecf57c
|
|
@ -73,7 +73,7 @@ class UpdateController extends Controller
|
||||||
$json = $this->guzzle->request(
|
$json = $this->guzzle->request(
|
||||||
'GET',
|
'GET',
|
||||||
$this->updateSource,
|
$this->updateSource,
|
||||||
['verify' => resource_path('misc/ca-bundle.crt')],
|
['verify' => resource_path('misc/ca-bundle.crt')]
|
||||||
)->getBody();
|
)->getBody();
|
||||||
$info = json_decode($json, true);
|
$info = json_decode($json, true);
|
||||||
if (Arr::get($info, 'spec') == $acceptableSpec) {
|
if (Arr::get($info, 'spec') == $acceptableSpec) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user