Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
| 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", ""),
|