Bhargav3000 commited on
Commit
d9a2bab
·
verified ·
1 Parent(s): cc9e77d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -15,12 +15,12 @@ credentials = service_account.Credentials.from_service_account_file(
15
  SERVICE_ACCOUNT_FILE, scopes=SCOPES)
16
  drive_service = build('drive', 'v3', credentials=credentials)
17
 
18
- domain='login'
19
  # Salesforce Authentication
20
  sf = Salesforce(
21
- username=os.getenv('SF_USERNAME'),
22
- password=os.getenv('SF_PASSWORD'),
23
- security_token=os.getenv('SF_SECURITY_TOKEN')
 
24
  )
25
 
26
  # Using a temporary directory to save retrieved files
@@ -75,5 +75,5 @@ def save_salesforce_files(custom_object_api_name):
75
 
76
  if __name__ == "__main__":
77
  # Replace 'YOUR_CUSTOM_OBJECT_API_NAME' with the Salesforce custom object API name
78
- custom_object_api_name = 'CustomerInfo__c'
79
  save_salesforce_files(custom_object_api_name)
 
15
  SERVICE_ACCOUNT_FILE, scopes=SCOPES)
16
  drive_service = build('drive', 'v3', credentials=credentials)
17
 
 
18
  # Salesforce Authentication
19
  sf = Salesforce(
20
+ username='bharatmali@sathkrutha.com',
21
+ password='Mahadev@9',
22
+ security_token='q67QF1yG0qBTSaiEfDrRrIEx',
23
+ domain='login'
24
  )
25
 
26
  # Using a temporary directory to save retrieved files
 
75
 
76
  if __name__ == "__main__":
77
  # Replace 'YOUR_CUSTOM_OBJECT_API_NAME' with the Salesforce custom object API name
78
+ custom_object_api_name = 'YOUR_CUSTOM_OBJECT_API_NAME'
79
  save_salesforce_files(custom_object_api_name)