minor fix

main
Cizz22 3 months ago
parent f6e2fb76c6
commit 0e7ed81536

@ -38,8 +38,9 @@ active_simulations = {}
# Get Data Service
async def get_all(common: CommonParameters, status):
query = select(AerosSimulation)
if status:
query = select(AerosSimulation).where(AerosSimulation.status == "completed")
query = query.where(AerosSimulation.status == "completed")
results = await search_filter_sort_paginate(model=query, **common)

Loading…
Cancel
Save