Browse Source

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

Aceix 5 months ago
parent
commit
372c797e60
1 changed files with 2 additions and 0 deletions
  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,