From 346637d3babf34d3397283be200321789576ddf9 Mon Sep 17 00:00:00 2001 From: Chris kerr Date: Fri, 19 Jul 2024 21:24:34 -0400 Subject: [PATCH] remove unneeded code --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index 63a3d31..f83b7a1 100644 --- a/main.go +++ b/main.go @@ -30,9 +30,6 @@ func main() { // Initialize collections events.InitCollections(client, config.Collections.EventKind0, config.Collections.EventKind1) - // Set the MongoDB collections in the requests package - requests.SetCollections(events.GetCollections()) - // Start WebSocket server http.Handle("/", websocket.Handler(requests.Handler)) fmt.Println("WebSocket server started on", config.Server.Address)