1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
This commit is contained in:
grossmj 2021-05-06 16:22:16 +09:30
parent 60701b63ac
commit 912fb2ed29

View File

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