diff options
author | Keuin <[email protected]> | 2023-07-29 20:28:19 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-07-29 20:28:28 +0800 |
commit | c4dbd4a7b2ad86fcb0220a4e2ffdae68d0d00103 (patch) | |
tree | 37e3487153a377aa5555d780c15f3a774237722e /bilibili/connect.go | |
parent | 9b5c3913989754370bd7d03ac8cf2e32a6172afb (diff) |
Merge branch 'bugfix-invalid-dmmsg'v0.5.0
Diffstat (limited to 'bilibili/connect.go')
-rw-r--r-- | bilibili/connect.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, }) |