stackConsult commited on
Commit
77a7238
·
verified ·
1 Parent(s): efcdf80

Fix indentation error in consent_audit_panel

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def consent_audit_panel(consent_events: List[Dict[str, Any]], profile: Optional[
50
 
51
  audit_md = f"# Consent/Event Audit\n\n**User:** {username}\n\nPer-contact and batch consent history."
52
  for event in user_events:
 
53
 
54
  # LinkedIn enrichment section
55
  audit_md += "\n\n---\n\n## 🔗 LinkedIn Profile Enrichment\n\n"
 
50
 
51
  audit_md = f"# Consent/Event Audit\n\n**User:** {username}\n\nPer-contact and batch consent history."
52
  for event in user_events:
53
+ audit_md += f"\n- Contact: {event.get('contact_id','?')} | Event: {event.get('event_type','?')} | Opt-out: {event.get('opt_out','?')}"
54
 
55
  # LinkedIn enrichment section
56
  audit_md += "\n\n---\n\n## 🔗 LinkedIn Profile Enrichment\n\n"