Procházet zdrojové kódy

Fix resume bug! It's op not ip.

Bruce Marriner před 8 roky
rodič
revize
c65d5091ab
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -49,7 +49,7 @@ type handshakeOp struct {
 }
 
 type ResumePacket struct {
-	Op   int `json:"ip"`
+	Op   int `json:"op"`
 	Data struct {
 		Token     string `json:"token"`
 		SessionID string `json:"session_id"`