Fixed the getelementpropertieswithtype

This commit is contained in:
DingZQ
2025-03-02 10:59:21 +08:00
parent d14666fcff
commit 36e1692ccf
2 changed files with 4 additions and 2 deletions

View File

@@ -522,7 +522,7 @@ async def fast_get_link_properties(network: str, link: str) -> dict[str, Any]:
# type can be 'node' or 'link' or 'scada'
@app.get('/getelementpropertieswithtype/')
async def fast_get_element_properties_with_type(network: str, type: str, element: str) -> dict[str, Any]:
return get_element_properties(network, type, element)
return get_element_properties_with_type(network, type, element)
# type can be 'node' or 'link' or 'scada'
@app.get('/getelementproperties/')