feat(api): EE changed search-error

This commit is contained in:
Taha Yassine Kraiem 2022-03-15 17:32:50 +01:00
parent 2a0473c7da
commit 5946af857a

View file

@ -570,7 +570,7 @@ def search(data: schemas.SearchErrorsSchema, project_id, user_id, flows=False):
{"project_id": project_id, "error_ids": tuple([r["error_id"] for r in rows]),
"userId": user_id})
cur.execute(query=query)
statuses = cur.fetchall()
statuses = helper.list_to_camel_case(cur.fetchall())
statuses = {
s["errorId"]: s for s in statuses
}