forked from mirrors/thatmattlove-hyperglass
fix fake output generation bug [skip ci]
This commit is contained in:
parent
1fb1dfe182
commit
257f802f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue