mirror of https://github.com/keeweb/keeweb.git
kw.settings.del method
This commit is contained in:
parent
37110d75cf
commit
9569716e96
|
@ -3,7 +3,8 @@ const AppSettingsModel = require('../models/app-settings-model');
|
|||
const ExportApi = {
|
||||
settings: {
|
||||
get: function(key) { return key ? AppSettingsModel.instance.get(key) : AppSettingsModel.instance.toJSON(); },
|
||||
set: function(key, value) { AppSettingsModel.instance.set(key, value); }
|
||||
set: function(key, value) { AppSettingsModel.instance.set(key, value); },
|
||||
del: function(key) { AppSettingsModel.instance.unset(key); }
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue