updating netclient

This commit is contained in:
afeiszli
2021-07-25 20:05:31 +00:00
parent 4a6ebfc108
commit 9fb01f9620
10 changed files with 43 additions and 18 deletions

View File

@@ -486,12 +486,6 @@ func createNode(w http.ResponseWriter, r *http.Request) {
}
}
err = node.Validate(false)
if err != nil {
returnErrorResponse(w, r, formatError(err, "badrequest"))
return
}
node, err = CreateNode(node, networkName)
if err != nil {
returnErrorResponse(w, r, formatError(err, "internal"))