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

This commit is contained in:
Aceix 2025-03-18 05:34:42 +00:00 committed by GitHub
parent 57c910ba69
commit 372c797e60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,