feat(chalice): fixed recordings response recursion error

This commit is contained in:
Taha Yassine Kraiem 2023-04-28 16:28:56 +02:00
parent eb9fc2c4cb
commit bb114c6549

View file

@ -78,7 +78,7 @@ def search_records(project_id: int, data: schemas_ee.AssistRecordSearchPayloadSc
results = {"total": rows[0]["count"]}
for r in rows:
r.pop("count")
results["records"] = results
results["records"] = rows
return results