feat(api): flat search: support empty events
This commit is contained in:
parent
e39b7b5c97
commit
64351ffe40
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ class FlatSessionsSearchPayloadSchema(SessionsSearchPayloadSchema):
|
|||
n_filters = []
|
||||
n_events = []
|
||||
for v in values.get("filters", []):
|
||||
if v["isEvent"]:
|
||||
if v.get("isEvent"):
|
||||
n_events.append(v)
|
||||
else:
|
||||
n_filters.append(v)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue