From 3ff5c0165306d13cd2f00704c6a6c3fb1b7f33a7 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Thu, 5 Jan 2023 13:46:07 -0800 Subject: [PATCH] Remove debug code --- websocket.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/websocket.go b/websocket.go index 82d11d5..fa2bffa 100644 --- a/websocket.go +++ b/websocket.go @@ -3,7 +3,6 @@ package lemmy import ( "context" "encoding/json" - "fmt" "net/http" "net/url" "reflect" @@ -99,8 +98,6 @@ func (c *WSClient) Request(op types.Operation, data any) error { return err } - fmt.Println(data, string(d)) - return c.conn.WriteJSON(types.LemmyWebSocketMsg{ Op: op.Operation(), Data: d,