PrashanthB461 commited on
Commit
62d7310
·
verified ·
1 Parent(s): d95883d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def send_to_salesforce(violations, score):
147
 
148
  try:
149
  # Update the Safety_Video_Report__c record in Salesforce
150
- sf.Safety_Video_Report__c.update(report_id, data)
151
  print("✅ Successfully updated Salesforce with the results!")
152
  except Exception as e:
153
  print(f"❌ Error updating Salesforce: {e}")
 
147
 
148
  try:
149
  # Update the Safety_Video_Report__c record in Salesforce
150
+ sf.Safety_Video_Reports__c.update(report_id, data)
151
  print("✅ Successfully updated Salesforce with the results!")
152
  except Exception as e:
153
  print(f"❌ Error updating Salesforce: {e}")