Ver Fonte

fix caching issue

Abhishek Kondur há 1 ano atrás
pai
commit
961db6e90f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      logic/extpeers.go

+ 1 - 1
logic/extpeers.go

@@ -114,7 +114,7 @@ func GetNetworkExtClients(network string) ([]models.ExtClient, error) {
 		if err != nil {
 			continue
 		}
-		key, err := GetRecordKey(extclient.ClientID, network)
+		key, err := GetRecordKey(extclient.ClientID, extclient.Network)
 		if err == nil {
 			storeExtClientInCache(key, extclient)
 		}