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

fix fake output generation bug [skip ci]

This commit is contained in:
checktheroads
2020-12-20 01:21:10 -07:00
parent 1fb1dfe182
commit 257f802f3b

View File

@@ -123,7 +123,7 @@ async def query(query_data: Query, request: Request, background_tasks: Backgroun
if params.fake_output:
# Return fake, static data for development purposes, if enabled.
cache_output = await fake_output(query_data.device.structured_output)
cache_output = await fake_output(json_output)
else:
# Pass request to execution module
cache_output = await execute(query_data)