savestate before github
This commit is contained in:
@ -23,7 +23,7 @@ def get_credentials(context):
|
||||
|
||||
# Load the .env file
|
||||
env_file = find_dotenv(".env")
|
||||
load_dotenv(env_file)
|
||||
load_dotenv(env_file, override=True)
|
||||
|
||||
# Load all environment variables
|
||||
for key, value in os.environ.items():
|
||||
@ -70,7 +70,6 @@ def get_sf_connection(context):
|
||||
sf_params['security_token'] = credentials['SECURITY_TOKEN']
|
||||
else:
|
||||
raise ValueError("Neither security token nor organization ID provided")
|
||||
|
||||
return Salesforce(**sf_params)
|
||||
|
||||
else:
|
||||
|
Reference in New Issue
Block a user