mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +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