mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Fix add node from template. Fixes https://github.com/GNS3/gns3-web-ui/issues/1122
This commit is contained in:
parent
60701b63ac
commit
912fb2ed29
@ -139,7 +139,7 @@ async def create_node_from_template(
|
||||
Create a new node from a template.
|
||||
"""
|
||||
|
||||
template = TemplatesService(templates_repo).get_template(template_id)
|
||||
template = await TemplatesService(templates_repo).get_template(template_id)
|
||||
controller = Controller.instance()
|
||||
project = controller.get_project(str(project_id))
|
||||
node = await project.add_node_from_template(
|
||||
|
Loading…
Reference in New Issue
Block a user