Rod Hynes 9 lat temu
rodzic
commit
e8efe9d504
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      psiphon/server/api.go

+ 1 - 1
psiphon/server/api.go

@@ -169,7 +169,7 @@ func handshakeAPIRequestHandler(
 
 
 	// Note: no guarantee that PsinetDatabase won't reload between database calls
 	// Note: no guarantee that PsinetDatabase won't reload between database calls
 	db := support.PsinetDatabase
 	db := support.PsinetDatabase
-	handshakeResponse := common.HandshakeResponse{
+	handshakeResponse := protocol.HandshakeResponse{
 		SSHSessionID:         sessionID,
 		SSHSessionID:         sessionID,
 		Homepages:            db.GetRandomHomepage(sponsorID, geoIPData.Country, isMobile),
 		Homepages:            db.GetRandomHomepage(sponsorID, geoIPData.Country, isMobile),
 		UpgradeClientVersion: db.GetUpgradeClientVersion(clientVersion, normalizedPlatform),
 		UpgradeClientVersion: db.GetUpgradeClientVersion(clientVersion, normalizedPlatform),