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:
@@ -24,4 +24,5 @@ script:
|
|||||||
# enable experimental features.
|
# enable experimental features.
|
||||||
- echo $TRAVIS_DIST
|
- echo $TRAVIS_DIST
|
||||||
- echo $ARCH_VERS
|
- echo $ARCH_VERS
|
||||||
- .deploy/docker/build-$ARCH.sh
|
- .deploy/docker/build-$ARCH.sh
|
||||||
|
- docker build -t jc5x/firefly-iii:develop-arm64 -f Dockerfile.arm64 .
|
@@ -61,10 +61,10 @@ class UpdateRequest implements UpdateRequestInterface
|
|||||||
throw new FireflyException('Invalid JSON in server response.');
|
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));
|
throw new FireflyException(sprintf('Unknown update channel "%s"', $channel));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $json[$channel];
|
return $json['firefly_iii'][$channel];
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user