Fix incorrect function

This commit is contained in:
toasted-nutbread 2019-12-12 20:00:14 -05:00
parent 69556533e1
commit e417a3fda3

View File

@ -235,7 +235,7 @@ class Backend {
modifyOption(path, value, options);
}
await this._optionsSave({source});
await this._onApiOptionsSave({source});
}
async _onApiOptionsSave({source}) {
@ -529,7 +529,7 @@ class Backend {
const options = await this.getOptions(optionsContext);
options.general.enable = !options.general.enable;
await this._optionsSave({source});
await this._onApiOptionsSave({source});
}
// Utilities