fix oopsie

This commit is contained in:
partisan 2024-08-26 18:11:00 +02:00
parent 469903dc9c
commit 492e0765af

View file

@ -191,13 +191,10 @@ func startNotificationChecker(interval time.Duration) {
ticker := time.NewTicker(interval)
defer ticker.Stop()
for {
select {
case <-ticker.C:
for range ticker.C {
checkAndSendNotifications()
}
}
}
func renderTemplate(w http.ResponseWriter, tmpl string, data interface{}) {
tmplPath := filepath.Join(templateDir, tmpl)