v2 update

This commit is contained in:
2018-11-28 20:07:36 +01:00
parent 21d3371790
commit ebd25cb487
3 changed files with 6 additions and 4 deletions

View File

@@ -135,9 +135,10 @@ class AutomaticDispose {
}
ADSettings() {
let that = this;
return (async () => {
var res = {};
await this.ADisDB.ADisSettings.each((setting) => {
await that.ADisDB.ADisSettings.each((setting) => {
res[setting.name] = setting.value;
});
return res;