mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve version handling.
This commit is contained in:
@@ -42,7 +42,7 @@ class UpdateRequest implements UpdateRequestInterface
|
||||
*/
|
||||
public function getVersion(string $channel): array
|
||||
{
|
||||
$uri = 'https://version.firefly-iii.org/index.json';
|
||||
$uri = config('firefly.update_endpoint');
|
||||
Log::debug(sprintf('Going to call %s', $uri));
|
||||
try {
|
||||
$client = new Client();
|
||||
|
@@ -31,7 +31,7 @@ interface UpdateRequestInterface
|
||||
/**
|
||||
* @param string $channel
|
||||
*
|
||||
* @return string
|
||||
* @return array
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function getVersion(string $channel): array;
|
||||
|
Reference in New Issue
Block a user