Browse Source

set last checkin status

abhishek9686 10 months ago
parent
commit
bab772f562
1 changed files with 2 additions and 3 deletions
  1. 2 3
      logic/nodes.go

+ 2 - 3
logic/nodes.go

@@ -423,9 +423,8 @@ func SetNodeDefaults(node *models.Node, resetConnected bool) {
 	}
 	}
 
 
 	node.SetLastModified()
 	node.SetLastModified()
-	if node.LastCheckIn.IsZero() {
-		node.SetLastCheckIn()
-	}
+	node.SetLastCheckIn()
+
 	if resetConnected {
 	if resetConnected {
 		node.SetDefaultConnected()
 		node.SetDefaultConnected()
 	}
 	}