From c4dbd4a7b2ad86fcb0220a4e2ffdae68d0d00103 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 29 Jul 2023 20:28:19 +0800 Subject: Merge branch 'bugfix-invalid-dmmsg' --- bilibili/connect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bilibili/connect.go') diff --git a/bilibili/connect.go b/bilibili/connect.go index 472c979..de608d0 100644 --- a/bilibili/connect.go +++ b/bilibili/connect.go @@ -5,7 +5,7 @@ import ( "nhooyr.io/websocket" ) -func (b Bilibili) DialWebSocket(ctx context.Context, url string) (*websocket.Conn, error) { +func (b *Bilibili) DialWebSocket(ctx context.Context, url string) (*websocket.Conn, error) { ws, _, err := websocket.Dial(ctx, url, &websocket.DialOptions{ HTTPClient: b.http, }) -- cgit v1.2.3