Abhishek Kondur пре 1 година
родитељ
комит
f62bde4c7c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      logic/hosts.go

+ 1 - 1
logic/hosts.go

@@ -199,7 +199,7 @@ func UpdateHost(newHost, currentHost *models.Host) {
 	newHost.Nodes = currentHost.Nodes
 	newHost.PublicKey = currentHost.PublicKey
 	newHost.TrafficKeyPublic = currentHost.TrafficKeyPublic
-
+	newHost.AutoUpdate = currentHost.AutoUpdate
 	// changeable fields
 	if len(newHost.Version) == 0 {
 		newHost.Version = currentHost.Version