fix: restore 'party.' key in customer identification

This commit is contained in:
2026-03-11 00:13:59 -05:00
parent 6eb381080a
commit f90da6a14b

View File

@@ -172,7 +172,7 @@ class Agent:
customer_data = customer_data[0] if customer_data else {}
if customer_data and customer_data.get("id"):
customer_name = customer_data.get("party", {}).get(
customer_name = customer_data.get("party.", {}).get(
"name", "Cliente Final"
)
customer_id = customer_data.get("id", 0)