mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-07 04:21:29 +00:00
Fetch config from API (#82)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
ca451388fb
commit
555dce69a9
3 changed files with 2 additions and 3 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue