diff --git a/backend/events.go b/backend/events.go index 401dd71..c7a93e3 100644 --- a/backend/events.go +++ b/backend/events.go @@ -170,16 +170,6 @@ func CreateEventsHandler(notifier *Notifier[Notification]) http.HandlerFunc { notifications := splitter.Add(id) defer splitter.Remove(id) - // if err := notifier.Create(userId.String()); err != nil { - // // TODO: this could be better. - // // EG: The user could attempt to create many connections - // // and they just get a 500, with no explanation. - // fmt.Println(err) - // w.WriteHeader(http.StatusInternalServerError) - // // w.(http.Flusher).Flush() - // return - // } - for { select { case <-r.Context().Done():