Spaces:
Running

axeronis commited on
Commit
e5fa89e
·
1 Parent(s): a353e22

fix: syntax error in Leads API (remove duplicate kw args)

Browse files
Files changed (1) hide show
  1. backend/app/api/leads.py +1 -2
backend/app/api/leads.py CHANGED
@@ -93,8 +93,7 @@ async def get_leads(
93
  id=str(lead.id),
94
  tenant_id=str(lead.tenant_id),
95
  name=lead.name,
96
- tenant_id=str(lead.tenant_id),
97
- name=lead.name,
98
  telegram_id=lead.telegram_id,
99
  whatsapp_id=lead.whatsapp_id,
100
  email=lead.email,
 
93
  id=str(lead.id),
94
  tenant_id=str(lead.tenant_id),
95
  name=lead.name,
96
+
 
97
  telegram_id=lead.telegram_id,
98
  whatsapp_id=lead.whatsapp_id,
99
  email=lead.email,