Fix resume bug! It's op not ip.
This commit is contained in:
parent
9e8cd0a735
commit
c65d5091ab
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
wsapi.go
|
@ -49,7 +49,7 @@ type handshakeOp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResumePacket struct {
|
type ResumePacket struct {
|
||||||
Op int `json:"ip"`
|
Op int `json:"op"`
|
||||||
Data struct {
|
Data struct {
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
SessionID string `json:"session_id"`
|
SessionID string `json:"session_id"`
|
||||||
|
|
Loading…
Reference in a new issue