瀏覽代碼

gameid --> gameId

Ronald Peterson 10 年之前
父節點
當前提交
ec410ea453
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      games/gameserver.go

+ 1 - 1
games/gameserver.go

@@ -55,7 +55,7 @@ func serveGames(gameServer GameServer) {
 
 type stompGameStart struct {
 	Type   string `json:"type"`
-	GameId int64  `json:"gameid"`
+	GameId int64  `json:"gameId"`
 }
 
 func (games GameServer) AddGame(x, y int, stompConnection *extStomp.Conn) *Game {