Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,10 +15,10 @@ API_VERSION = "v60.0"
|
|
| 15 |
def get_salesforce_token():
|
| 16 |
data = {
|
| 17 |
"grant_type": "password",
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
"username": "greenenergy@vedavathi.com",
|
| 21 |
-
"password": "Vedavathi@04"
|
| 22 |
}
|
| 23 |
response = requests.post(TOKEN_URL, data=data)
|
| 24 |
if response.status_code != 200:
|
|
|
|
| 15 |
def get_salesforce_token():
|
| 16 |
data = {
|
| 17 |
"grant_type": "password",
|
| 18 |
+
"client_id": "3MVG9VMBZCsTL9hnfx2eVMOHa56mwSZnvuAnPr3kVVBEQfeLYvrSfJNRRjjSlKWPLy99XM6kefg==",
|
| 19 |
+
"client_secret": "6F7E9C95CE20CC07FC1EBD39B34909739D99975A0EEB548240926EA0686E428E",
|
| 20 |
"username": "greenenergy@vedavathi.com",
|
| 21 |
+
"password": "Vedavathi@04" + "jqe4His8AcuFJucZz5NBHfGU"
|
| 22 |
}
|
| 23 |
response = requests.post(TOKEN_URL, data=data)
|
| 24 |
if response.status_code != 200:
|