Move apiOptionsGet implementation into Backend
This commit is contained in:
parent
832405c74a
commit
4922d3433d
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
function apiOptionsGet(optionsContext) {
|
function apiOptionsGet(optionsContext) {
|
||||||
return utilBackend().getOptions(optionsContext);
|
return utilBackend()._onApiOptionsGet({optionsContext});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function apiOptionsSet(changedOptions, optionsContext, source) {
|
async function apiOptionsSet(changedOptions, optionsContext, source) {
|
||||||
|
@ -187,7 +187,7 @@ class Backend {
|
|||||||
// Message handlers
|
// Message handlers
|
||||||
|
|
||||||
_onApiOptionsGet({optionsContext}) {
|
_onApiOptionsGet({optionsContext}) {
|
||||||
return apiOptionsGet(optionsContext);
|
return this.getOptions(optionsContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onApiOptionsGetFull() {
|
_onApiOptionsGetFull() {
|
||||||
|
Loading…
Reference in New Issue
Block a user