Commit bd091992 authored by les's avatar les
Browse files

fix settings updates

parent 034e21df
......@@ -92,8 +92,7 @@ const settingsController = {
defaults: { value, is_secret }
})
if (!created) { return setting.update({ value, is_secret }) }
if (!created) { setting.update({ value, is_secret }) }
settingsController[is_secret ? 'secretSettings' : 'settings'][key] = value
return true
} catch (e) {
......
......@@ -89,7 +89,7 @@ const TS = new TaskManager()
TS.add(new Task({
name: 'RECURRENT_EVENT',
method: eventController._createRecurrent,
repeatEach: 10
repeatEach: 10 // check each 10 minutes
}))
// daily morning notification
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment