From 019c4c6b0cc6d005df2d0b326458715310dd417c Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 12 May 2025 20:51:21 +0100 Subject: [PATCH] chore: removing unnecessary comment --- backend/events.go | 10 ---------- 1 file changed, 10 deletions(-) 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():