Reset timer on next alarm deletion
This commit is contained in:
parent
a1582e3819
commit
4069ecfad5
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ func declareAlarmsRoutes(cfg *config.Config, db *reveil.LevelDBStorage, resetTim
|
|||
return
|
||||
}
|
||||
|
||||
resetTimer()
|
||||
|
||||
c.JSON(http.StatusOK, true)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue