mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
commit
ef62eba4e8
@ -169,7 +169,7 @@ class TemplateHandler:
|
|||||||
node = await project.add_node_from_template(request.match_info["template_id"],
|
node = await project.add_node_from_template(request.match_info["template_id"],
|
||||||
x=request.json["x"],
|
x=request.json["x"],
|
||||||
y=request.json["y"],
|
y=request.json["y"],
|
||||||
name=request.json.get("name")),
|
name=request.json.get("name"),
|
||||||
compute_id=request.json.get("compute_id"))
|
compute_id=request.json.get("compute_id"))
|
||||||
response.set_status(201)
|
response.set_status(201)
|
||||||
response.json(node)
|
response.json(node)
|
||||||
|
Loading…
Reference in New Issue
Block a user