Browse Source

Fix resume bug! It's op not ip.

Bruce Marriner 8 years ago
parent
commit
c65d5091ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wsapi.go

+ 1 - 1
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"`