From 0f9436ee4474fe33d491eea7e9b818a2fedf0bcc Mon Sep 17 00:00:00 2001 From: Chris kerr Date: Fri, 19 Jul 2024 21:19:57 -0400 Subject: [PATCH] remove unneeded code --- requests/requests.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/requests/requests.go b/requests/requests.go index 1a410d0..0e81890 100644 --- a/requests/requests.go +++ b/requests/requests.go @@ -60,18 +60,6 @@ func Handler(ws *websocket.Conn) { continue } - // Store the event in the appropriate MongoDB collection - //var collection *mongo.Collection - //switch evt.Kind { - //case 0: - // collection = eventKind0Collection - //case 1: - // collection = eventKind1Collection - //default: - // fmt.Println("Unknown event kind:", evt.Kind) - // continue - //} - err = events.HandleEvent(context.TODO(), evt) if err != nil { fmt.Println("Error handling event:", err)