Spaces:
Sleeping
Sleeping
Update salesforce_utils.py
Browse files- salesforce_utils.py +1 -1
salesforce_utils.py
CHANGED
|
@@ -19,7 +19,7 @@ if not all([USERNAME, PASSWORD, SECURITY_TOKEN]):
|
|
| 19 |
LOGIN_URL = f"https://sathkruthatechsolutionspr45-dev-ed.develop.lightning.force.com/lightning/setup/SetupOneHome/home"
|
| 20 |
|
| 21 |
def get_token():
|
| 22 |
-
url = f"
|
| 23 |
payload = {
|
| 24 |
'grant_type': 'password',
|
| 25 |
'username': USERNAME,
|
|
|
|
| 19 |
LOGIN_URL = f"https://sathkruthatechsolutionspr45-dev-ed.develop.lightning.force.com/lightning/setup/SetupOneHome/home"
|
| 20 |
|
| 21 |
def get_token():
|
| 22 |
+
url = f"https://sathkruthatechsolutionspr45-dev-ed.develop.lightning.force.com/lightning/setup/SetupOneHome/home/services/oauth2/token"
|
| 23 |
payload = {
|
| 24 |
'grant_type': 'password',
|
| 25 |
'username': USERNAME,
|