Parcourir la source

fix: add status to updated node response during update (#3363)

Aceix il y a 5 mois
Parent
commit
372c797e60
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      controllers/node.go

+ 2 - 0
controllers/node.go

@@ -678,6 +678,8 @@ func updateNode(w http.ResponseWriter, r *http.Request) {
 		logic.UpdateRelayed(&currentNode, newNode)
 	}
 
+	logic.GetNodeStatus(newNode, false)
+
 	apiNode := newNode.ConvertToAPINode()
 	logger.Log(
 		1,