1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +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)