mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
fixed backup and anonymization with better-sqlite3
This commit is contained in:
@@ -67,9 +67,7 @@ function getOptions() {
|
||||
}
|
||||
|
||||
function getOptionsMap() {
|
||||
const options = getOptions();
|
||||
|
||||
return utils.toObject(options, opt => [opt.name, opt.value]);
|
||||
return require('./sql').getMap("SELECT name, value FROM options ORDER BY name");
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user