Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ async def get_insurance_data(hushh_id:str):
|
|
| 29 |
if ds.get('insurance_type') is not None and ds.get('insurance_type') != "" and ds.get('policy_details') is not None and ds.get('coverage_details') is not None:
|
| 30 |
if ds.get('insurance_type') not in res:
|
| 31 |
res[ds.get('insurance_type')] = []
|
| 32 |
-
res[ds.get('insurance_type')].append({"message_id":message_id,"policy_details":ds.get('policy_details') ,"coverage_details": ds.get('coverage_details'),"domain":
|
| 33 |
return res
|
| 34 |
|
| 35 |
|
|
|
|
| 29 |
if ds.get('insurance_type') is not None and ds.get('insurance_type') != "" and ds.get('policy_details') is not None and ds.get('coverage_details') is not None:
|
| 30 |
if ds.get('insurance_type') not in res:
|
| 31 |
res[ds.get('insurance_type')] = []
|
| 32 |
+
res[ds.get('insurance_type')].append({"message_id":message_id,"policy_details":ds.get('policy_details') ,"coverage_details": ds.get('coverage_details'),"domain":r.get('company'),"logo":r.get('logo')})
|
| 33 |
return res
|
| 34 |
|
| 35 |
|