Replace uri with url

This commit is contained in:
James Cole
2022-04-12 18:19:30 +02:00
parent ac5c11a8d7
commit 50f87a210a
101 changed files with 449 additions and 486 deletions

View File

@@ -79,8 +79,8 @@ class UpdateRequest implements UpdateRequestInterface
'message' => (string) trans('firefly.unknown_error'),
];
$uri = config('firefly.update_endpoint');
Log::debug(sprintf('Going to call %s', $uri));
$url = config('firefly.update_endpoint');
Log::debug(sprintf('Going to call %s', $url));
try {
$client = new Client;
$options = [
@@ -89,7 +89,7 @@ class UpdateRequest implements UpdateRequestInterface
],
'timeout' => 3.1415,
];
$res = $client->request('GET', $uri, $options);
$res = $client->request('GET', $url, $options);
} catch (GuzzleException $e) {
Log::error('Ran into Guzzle error.');
Log::error($e->getMessage());