Remove debug code

This commit is contained in:
Elara 2023-01-05 13:46:07 -08:00
parent 0942490238
commit 754cfa602c

View File

@ -3,7 +3,6 @@ package lemmy
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"fmt"
"net/http" "net/http"
"net/url" "net/url"
"reflect" "reflect"
@ -99,8 +98,6 @@ func (c *WSClient) Request(op types.Operation, data any) error {
return err return err
} }
fmt.Println(data, string(d))
return c.conn.WriteJSON(types.LemmyWebSocketMsg{ return c.conn.WriteJSON(types.LemmyWebSocketMsg{
Op: op.Operation(), Op: op.Operation(),
Data: d, Data: d,