Fix: missing $ and use defaultStore
This commit is contained in:
parent
cbf0165893
commit
f3f2bb01b0
6 changed files with 11 additions and 14 deletions
|
|
@ -25,7 +25,7 @@ function saveAccounts (accounts) {
|
|||
return loadAccounts()
|
||||
.then(currentAccounts => {
|
||||
const newAccounts = _.merge(currentAccounts, accounts)
|
||||
return db.none(accountsSql, ['accounts', { accounts: newAccounts }, true, NEW_SETTINGS_LOADER_SCHEMA_VERSION])
|
||||
return db.$none(accountsSql, ['accounts', { accounts: newAccounts }, true, NEW_SETTINGS_LOADER_SCHEMA_VERSION])
|
||||
})
|
||||
}
|
||||
function resetAccounts (schemaVersion) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue