Skip to content

Commit

Permalink
feat: hotfix for contact with list value
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Jul 25, 2024
1 parent 5ed9f6f commit 849ad63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions insights/sources/rooms/query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def add_filter(self, strategy, field, operation, value, table_alias: str = "r"):
"urn": "r",
} # {field_name: table_alias}
operation = "or"
if type(value) is list:
value = value[0]
clause, params = strategy.apply(field, operation, value, table_alias)

self.where_clauses.append(clause)
Expand Down

0 comments on commit 849ad63

Please sign in to comment.