Remove debug code

This commit is contained in:
Elara 2023-01-05 13:46:07 -08:00
parent 1765ca2db5
commit 3ff5c01653

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,