diff options
author | Tom Smeding <tom@tomsmeding.com> | 2022-02-03 10:13:36 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2022-02-03 10:13:36 +0100 |
commit | 38b2f19f563d560be208b0c8f53bc7b6630c0436 (patch) | |
tree | 0e5eccb6294d9ee9ca16b6a46cdfdc4f6f6032ed | |
parent | a2f5c70f6ff56155447086fc766b77064a4b15d9 (diff) |
todo: Fix account counting
-rw-r--r-- | modules/todo/todo.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/todo/todo.js b/modules/todo/todo.js index f3581f1..b5d3417 100644 --- a/modules/todo/todo.js +++ b/modules/todo/todo.js @@ -162,6 +162,7 @@ module.exports=function(app,io,_moddir){ return; } accounts[user.name]=hash; + naccounts++; tasks[user.name]=[]; persist.setItemSync("accounts",accounts); persist.setItemSync("tasks",tasks); |