fix: delete all

eventlist in timer object was not reset correctly
This commit is contained in:
cv
2021-06-14 14:50:04 +02:00
parent a5596eecec
commit 4d7a26a66d
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ export const eventsDeleteAll = async (req, res) => {
db.write();
// update timer object
_updateTimersSingle();
global.timer.clearEventList();
res.sendStatus(201);
} catch (error) {