Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,7 @@ def signup():
|
|
81 |
# Create a new referral coupon entry in Salesforce
|
82 |
sf.Referral_Coupon__c.create({
|
83 |
"Referral_Email__c": referrer_email,
|
84 |
-
"Coupon_Code__c": new_coupon_code
|
85 |
-
"Created_Date__c": datetime.utcnow().isoformat() # Optional timestamp
|
86 |
})
|
87 |
|
88 |
# Create the new customer record in Salesforce
|
|
|
81 |
# Create a new referral coupon entry in Salesforce
|
82 |
sf.Referral_Coupon__c.create({
|
83 |
"Referral_Email__c": referrer_email,
|
84 |
+
"Coupon_Code__c": new_coupon_code
|
|
|
85 |
})
|
86 |
|
87 |
# Create the new customer record in Salesforce
|