diff --git a/main.py b/main.py index 28ca652..7262ef0 100644 --- a/main.py +++ b/main.py @@ -88,7 +88,7 @@ async def fastapi_import_inp(network: str, req: Request): async def fastapi_export_inp(network: str) -> ChangeSet: cs = export_inp(network) op = cs.operations[0] - op['vertices'] = str(get_all_vertices(network)) + op['vertex'] = str(get_all_vertices(network)) op['scada'] = str(get_all_scada_elements(network)) return cs