geethareddy commited on
Commit
a5f8b02
·
verified ·
1 Parent(s): 6b0e93e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -187,7 +187,7 @@ def customer_details():
187
 
188
  # Prepare the data to return to the frontend
189
  customer_data = {
190
- "name": customer.get("customerName", ""),
191
  "email": customer.get("Email__c", ""),
192
  "phone": customer.get("Phone_Number__c", ""),
193
  "referral_code": customer.get("Referral__c", ""),
 
187
 
188
  # Prepare the data to return to the frontend
189
  customer_data = {
190
+ "name": customer.get("Name", ""),
191
  "email": customer.get("Email__c", ""),
192
  "phone": customer.get("Phone_Number__c", ""),
193
  "referral_code": customer.get("Referral__c", ""),