cache upsert network data

This commit is contained in:
abhishek9686
2025-11-22 12:19:02 +04:00
parent cf6ad4726b
commit 3924feff74

View File

@@ -639,6 +639,9 @@ func UpsertNetwork(network models.Network) error {
if err != nil {
return err
}
if servercfg.CacheEnabled() {
storeNetworkInCache(network.NetID, network)
}
return nil
}