Fetch config from API (#82)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Pascal Vizeli 2021-11-01 03:55:13 +01:00 committed by GitHub
parent ca451388fb
commit 555dce69a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -44,7 +44,8 @@ function bashio::config() {
end
QUERY
result=$(bashio::jq "${__BASHIO_ADDON_CONFIG}" "${query}")
options=$(bashio::addon.options)
result=$(bashio::jq "${options}" "${query}")
printf "%s" "${result}"
return "${__BASHIO_EXIT_OK}"