1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Fix fake output handling

This commit is contained in:
thatmattlove
2021-12-13 22:15:06 -07:00
parent 56432013e0
commit 5bf69f7923
2 changed files with 7 additions and 9 deletions

View File

@@ -128,7 +128,7 @@ async def query(
if state.params.fake_output:
# Return fake, static data for development purposes, if enabled.
output = await fake_output(True)
output = await fake_output(query_data.device.structured_output or False)
else:
# Pass request to execution module
output = await execute(query_data)