Reset timer on next alarm deletion
This commit is contained in:
parent
a1582e3819
commit
4069ecfad5
@ -29,6 +29,8 @@ func declareAlarmsRoutes(cfg *config.Config, db *reveil.LevelDBStorage, resetTim
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetTimer()
|
||||||
|
|
||||||
c.JSON(http.StatusOK, true)
|
c.JSON(http.StatusOK, true)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user