summaryrefslogtreecommitdiff
path: root/modules/todo
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-02-03 10:13:36 +0100
committerTom Smeding <tom@tomsmeding.com>2022-02-03 10:13:36 +0100
commit38b2f19f563d560be208b0c8f53bc7b6630c0436 (patch)
tree0e5eccb6294d9ee9ca16b6a46cdfdc4f6f6032ed /modules/todo
parenta2f5c70f6ff56155447086fc766b77064a4b15d9 (diff)
todo: Fix account counting
Diffstat (limited to 'modules/todo')
-rw-r--r--modules/todo/todo.js1
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);