From 38b2f19f563d560be208b0c8f53bc7b6630c0436 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 3 Feb 2022 10:13:36 +0100 Subject: todo: Fix account counting --- modules/todo/todo.js | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3-70-g09d2