mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 18:03:47 +00:00
fix: delete all
eventlist in timer object was not reset correctly
This commit is contained in:
@@ -320,7 +320,7 @@ export const eventsDeleteAll = async (req, res) => {
|
||||
db.write();
|
||||
|
||||
// update timer object
|
||||
_updateTimersSingle();
|
||||
global.timer.clearEventList();
|
||||
|
||||
res.sendStatus(201);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user