fix extclient caching (#2653)

This commit is contained in:
Abhishek K 2023-11-01 23:36:46 +04:00 committed by GitHub
parent 916694b2cf
commit 800f6e2222
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,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)
}