PrashanthB461 commited on
Commit
91f0e41
·
verified ·
1 Parent(s): 45f36ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def send_to_salesforce(violations, score):
157
 
158
  try:
159
  # Insert new record in Salesforce
160
- result = sf.Safety_Video_Report__c.create(data)
161
  print(f"✅ Successfully created new report in Salesforce with ID: {result['id']}")
162
  except Exception as e:
163
  print(f"❌ Error creating/updating record in Salesforce: {e}")
 
157
 
158
  try:
159
  # Insert new record in Salesforce
160
+ result = sf.Safety_Video_Reports__c.create(data)
161
  print(f"✅ Successfully created new report in Salesforce with ID: {result['id']}")
162
  except Exception as e:
163
  print(f"❌ Error creating/updating record in Salesforce: {e}")