testing server update

This commit is contained in:
afeiszli
2022-01-31 15:51:21 -05:00
parent 09c2f9bf8b
commit 3964d927ea
3 changed files with 12 additions and 7 deletions

View File

@@ -569,7 +569,7 @@ func updateNode(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
json.NewEncoder(w).Encode(newNode)
runUpdates(&node, true)
runUpdates(&newNode, true)
}
func deleteNode(w http.ResponseWriter, r *http.Request) {