Fix caching API response caching bug (#48)

This commit is contained in:
Franck Nijhof 2021-01-15 20:28:19 +01:00 committed by GitHub
parent abd81ec1c9
commit 71aeb066fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -96,7 +96,7 @@ function bashio::core() {
fi
if bashio::cache.exists 'core.info'; then
info=$(bashio::cache.get 'supervisor.core')
info=$(bashio::cache.get 'core.info')
else
info=$(bashio::api.supervisor GET /core/info false)
bashio::cache.set 'core.info' "${info}"