Move apiOptionsGet implementation into Backend

This commit is contained in:
toasted-nutbread 2019-12-09 21:05:15 -05:00
parent 832405c74a
commit 4922d3433d
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
function apiOptionsGet(optionsContext) {
return utilBackend().getOptions(optionsContext);
return utilBackend()._onApiOptionsGet({optionsContext});
}
async function apiOptionsSet(changedOptions, optionsContext, source) {

View File

@ -187,7 +187,7 @@ class Backend {
// Message handlers
_onApiOptionsGet({optionsContext}) {
return apiOptionsGet(optionsContext);
return this.getOptions(optionsContext);
}
_onApiOptionsGetFull() {