* fix(chalice): fixed public api

* fix(chalice): changed user-journey response
This commit is contained in:
Kraiem Taha Yassine 2025-02-27 21:28:32 +01:00 committed by GitHub
parent 7d5ac6a8c9
commit 90964e8f50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -448,7 +448,7 @@ def __get_global_attributes(row):
if row is None or row.get("cardInfo") is None: if row is None or row.get("cardInfo") is None:
return row return row
card_info = row.get("cardInfo", {}) card_info = row.get("cardInfo", {})
row["compareTo"] = card_info.get("compareTo", []) row["compareTo"] = card_info["compareTo"] if card_info.get("compareTo") is not None else []
return row return row