Explorar el Código

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

Aceix hace 5 meses
padre
commit
372c797e60
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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,