Omkar008 commited on
Commit
9d2d7da
·
verified ·
1 Parent(s): eb836f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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":msg.get('company'),"logo":msg.get('logo')})
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