mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix version verify.
This commit is contained in:
@@ -61,10 +61,10 @@ class UpdateRequest implements UpdateRequestInterface
|
||||
throw new FireflyException('Invalid JSON in server response.');
|
||||
}
|
||||
|
||||
if (!isset($json[$channel])) {
|
||||
if (!isset($json['firefly_iii'][$channel])) {
|
||||
throw new FireflyException(sprintf('Unknown update channel "%s"', $channel));
|
||||
}
|
||||
|
||||
return $json[$channel];
|
||||
return $json['firefly_iii'][$channel];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user