Remove debug code
This commit is contained in:
parent
0942490238
commit
754cfa602c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user