reid 2 lat temu
rodzic
commit
da9e7ee0b2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      auth/auth.go

+ 1 - 1
auth/auth.go

@@ -56,7 +56,7 @@ func WsAuthCheck(conn *websocket.Conn) bool {
 	AuthenticatedClients.RLock()
 	defer AuthenticatedClients.RUnlock()
 	for _, con := range AuthenticatedClients.Conns {
-		fmt.Println(con) //debug
+		fmt.Println(string(con)) //debug
 		if con == conn {
 			config.Logger.Info("Client in auth map")
 			return true