Spaces:
Runtime error
Runtime error
Update app.py
#4
by nagasurendra - opened
app.py
CHANGED
|
@@ -10,7 +10,7 @@ SF_PASSWORD = os.getenv("SF_PASSWORD", " Sati@1020")
|
|
| 10 |
SF_SECURITY_TOKEN = os.getenv("SF_SECURITY_TOKEN", "sSSjyhInIsUohKpG8sHzty2q")
|
| 11 |
|
| 12 |
# Connect to Salesforce
|
| 13 |
-
sf = Salesforce(username=
|
| 14 |
|
| 15 |
@app.route("/menu", methods=["GET"])
|
| 16 |
def menu():
|
|
|
|
| 10 |
SF_SECURITY_TOKEN = os.getenv("SF_SECURITY_TOKEN", "sSSjyhInIsUohKpG8sHzty2q")
|
| 11 |
|
| 12 |
# Connect to Salesforce
|
| 13 |
+
sf = Salesforce(username=SF_USERNAME, password=SF_PASSWORD, security_token=SF_SECURITY_TOKEN)
|
| 14 |
|
| 15 |
@app.route("/menu", methods=["GET"])
|
| 16 |
def menu():
|